]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Now URI grabber is configurable.
authorArtur Frysiak <artur@frysiak.net>
Wed, 27 Sep 2000 11:09:04 +0000 (11:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.63

builder.sh

index f2c514f31b47530376c8c030f5f06237714cca68..ddb6fe3c6ad0071b1417bf3a282846515c058ead 100644 (file)
@@ -38,6 +38,8 @@ PACKAGE_NAME=""
 
 DEF_NICE_LEVEL=0
 
+GETURI="wget -c -nd -t0"
+
 if [ -f ~/etc/builderrc ]; then
   . ~/etc/builderrc
 elif [ -f ~/.builderrc ]; then
@@ -237,7 +239,7 @@ get_all_files()
                if      [ -z "$NOURLS" ]&&[ ! -f "`nourl $i`" ]&&\
                        [ `echo $i | grep -E 'ftp://|http://|https://'` ]
                then
-                       wget -c -nd -t0 "$i"
+                       ${GETURI} "$i"
                fi
 
                if [ ! -f "`nourl $i`" ]; then
This page took 0.051969 seconds and 4 git commands to generate.