]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder.sh
Merge branch 'shallow_clone'
[packages/rpm-build-tools.git] / builder.sh
index 6be7dbd66ed349dd802a0555ec83b93be7c74382..97d345dff846a9aaaaee91bfce1a8fa5815869b8 100755 (executable)
@@ -783,6 +783,7 @@ get_spec() {
                                fi
                                git init
                                git remote add origin ${GIT_SERVER}/${ASSUMED_NAME}.git
+                               CVSTAG=${CVSTAG:-"master"}
                        fi
                        git fetch "$DEPTH" origin ${CVSTAG}:remotes/origin/${CVSTAG} || {
                                echo >&2 "Error: branch $CVSTAG does not exist"
This page took 0.040821 seconds and 4 git commands to generate.