]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- don't try to tag files which are not stored on cvs; don't try to fetch files from...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 11 Oct 2003 19:12:04 +0000 (19:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.201

builder.sh

index cf5dffa50c6488776f4138938808290606b7d28e..16ff54f575e763bf5882c9426d0b673a1b349968 100644 (file)
@@ -604,7 +604,9 @@ tag_files()
 
        cd $SOURCE_DIR
        for i in $TAG_FILES; do
-           if [ -f `nourl $i` ]; then
+           # don't tag non cvs files (ie. stored on distfiles)
+           [ "`nourl $i`" != "$i" ] && continue
+           if [ -f "`nourl $i`" ]; then
                if [ "$TAG_VERSION" = "yes" ]; then
                    cvs $OPTIONS $TAGVER `nourl $i`
                fi
@@ -972,6 +974,13 @@ case "$COMMAND" in
                get_files $ICONS
                parse_spec;
            fi
+           # don't fetch sources from remote locations
+           new_SOURCES=""
+           for file in $SOURCES; do
+               [ "`nourl $file`" != "$file" ] && continue
+               new_SOURCES="$new_SOURCES $file"
+           done
+           SOURCES="$new_SOURCES"
            get_files $SOURCES $PATCHES;
            tag_files "$SOURCES $PATCHES $ICONS";
        else
This page took 0.048556 seconds and 4 git commands to generate.