]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- https suport
authorArtur Frysiak <artur@frysiak.net>
Thu, 23 Mar 2000 19:59:56 +0000 (19:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.54

builder.sh

index 8928ae09c76211595e2bfb9cf2807061f6761115..44d7686be117fb7ede0b70ff37fae86b5be1b945 100644 (file)
@@ -215,20 +215,20 @@ get_all_files()
        fi
        for i in $SOURCES $PATCHES $ICONS; do
                if 
-                       echo $i | egrep -v '(http|ftp)://' |\
+                       echo $i | egrep -v '(http|ftp|https)://' |\
                        egrep -q '\.(gz|bz2)$'
                then
                        echo "Warning: no URL given for $i"
                fi
                
                if      [ -z "$NOCVS" ]||\
-                       [ `echo $i | egrep -v 'ftp://|http://'` ]
+                       [ `echo $i | egrep -v 'ftp://|http://|https://'` ]
                then
                        cvs $OPTIONS `nourl $i`
                fi
                
                if      [ -z "$NOURLS" ]&&[ ! -f "`nourl $i`" ]&&\
-                       [ `echo $i | egrep 'ftp://|http://'` ]
+                       [ `echo $i | egrep 'ftp://|http://|https://'` ]
                then
                        wget -c -nd -t0 "$i"
                fi
@@ -271,7 +271,7 @@ build_package()
 
 nourl()
 {
-       echo "$@" | sed 's#\<\(ftp\|http\)://.*/##g'
+       echo "$@" | sed 's#\<\(ftp\|http\|https\)://.*/##g'
 }
 #---------------------------------------------
 # main()
This page took 0.028192 seconds and 4 git commands to generate.