]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Explictly tell wget/download tool where to save file.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 16 Sep 2009 13:00:44 +0000 (13:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.593

builder.sh

index c885f741a6e1e55b2e67f93a79567a92bfe1984f..360eb5f1a73a46a0ad77aeb734d3a89dfd5d7095 100644 (file)
@@ -1098,11 +1098,12 @@ get_files() {
                                        else
                                                im="$i"
                                        fi
+                                       lf=$(basename $im)
                                        update_shell_title "${GETURI%% *}: $im"
-                                       ${GETURI} "$im" || \
+                                       ${GETURI} "$im" ${OUTFILEOPT} "$lf" || \
                                        if [ "`echo $im | grep -E 'ftp://'`" ]; then
                                                update_shell_title "${GETURI2%% *}: $im"
-                                               ${GETURI2} "$im"
+                                               ${GETURI2} "$im" ${OUTFILEOPT} "$lf"
                                        fi
                                fi
 
This page took 0.039059 seconds and 4 git commands to generate.