Author: glen                         Date: Mon Jan 16 23:19:08 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move cvs access check earlier than cvsup()

---- Files affected:
SPECS:
   builder (1.373 -> 1.374) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.373 SPECS/builder:1.374
--- SPECS/builder:1.373 Tue Jan 17 00:01:42 2006
+++ SPECS/builder       Tue Jan 17 00:19:03 2006
@@ -634,12 +634,8 @@
         local OPTIONS="up "
         if [ -n "$CVSROOT" ]; then
                  OPTIONS="-d $CVSROOT $OPTIONS"
-        else
-                 if [ ! -s CVS/Root -a "$NOCVS" != "yes" ]; then
-                               echo "warning: No cvs access defined for 
SOURCES"
-                               NOCVS="yes"
-                 fi
         fi
+
         if [ -z "$CVSDATE" -a -z "$CVSTAG" ]; then
                  OPTIONS="$OPTIONS -A"
         else
@@ -683,6 +679,11 @@
 
        if [ $# -gt 0 ]; then
                cd "$SOURCE_DIR"
+
+               if [ ! -s CVS/Root -a "$NOCVS" != "yes" ]; then
+                       echo "warning: No cvs access defined for SOURCES"
+                       NOCVS="yes"
+               fi
 
                local nf=$(echo "$GET_FILES" | wc -w)
                local nc=0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.373&r2=1.374&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to