]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- offline mode support for display_branches
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 2 Nov 2005 12:08:55 +0000 (12:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.345

builder.sh

index 94d0cc50d4181b87709070979ebbb9b22d8a1e1c..41d75ee48e974e65314d2d1a1ce715f7fc17ea45 100644 (file)
@@ -1196,8 +1196,10 @@ display_bconds()
 
 display_branches()
 {
-        echo -ne "Available branches: "
-        cvs status -v "${SPECFILE}" | awk '/\(branch:/ { print $1 } ' | xargs
+        if [ "$NOCVSSPEC" != "yes" ]; then
+                 echo -ne "Available branches: "
+                 cvs status -v "${SPECFILE}" | awk '/\(branch:/ { print $1 } ' | xargs
+        fi
 }
 
 # checks a given list of packages/files/provides agains current rpmdb.
This page took 0.038317 seconds and 4 git commands to generate.