]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder.sh
Merge branch 'only_branches_and_tags'
[packages/rpm-build-tools.git] / builder.sh
index 7bf9f2f5873ab2c71c5ca1b3995af0ae4da3eb42..efd2815ef18f455ee790a50b4eafb3f1571c1769 100755 (executable)
@@ -777,7 +777,7 @@ get_spec() {
        fi
 
        if [ -n "$CVSTAG" ]; then
-               git checkout "$CVSTAG" -- || exit
+               git checkout "$CVSTAG" -- 2>/dev/null || git checkout -t "origin/$CVSTAG" > /dev/null || exit
                git symbolic-ref -q HEAD > /dev/null &&
                        git merge '@{u}'
                if [ -n "$CVSDATE" ]; then
This page took 0.024562 seconds and 4 git commands to generate.