]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder.sh
- new
[packages/rpm-build-tools.git] / builder.sh
index 891b8bec85fd5ba9065fe59adff5500da357508c..e0d2940c84e9323a66dd0278554806a453746ff3 100644 (file)
@@ -1292,6 +1292,13 @@ branch_files()
        fi
 
        local OPTIONS="tag $CVS_FORCE -b"
+
+       # branch exists?
+       is_tag_a_branch $TAG
+       if [ $? -eq 1 ]; then
+               OPTIONS="$OPTIONS -B"
+       fi
+
        if [ -n "$CVSROOT" ]; then
                OPTIONS="-d $CVSROOT $OPTIONS"
        fi
This page took 0.037971 seconds and 4 git commands to generate.