Fix spurious quotes in download code
$WGETPARM contains several switches separated by blank spaces. If quoted in the wget command, it appears as an url with spaces, not as switches.
This commit is contained in:
parent
6df52e8417
commit
28ef51b817
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ get_sources() { # Download file, write name to MISSING_FILES.DMP if
|
|||
else
|
||||
echo "${BOLD}${YELLOW}$FILE: not found in ${BUILDDIR}/sources${OFF}"
|
||||
fi
|
||||
if ! wget "$URL" "$WGETPARAM"; then
|
||||
if ! wget "$URL" $WGETPARAM; then
|
||||
gs_wrt_message "$FILE not found on any server..SKIPPING"
|
||||
continue
|
||||
fi
|
||||
|
@ -82,7 +82,7 @@ get_sources() { # Download file, write name to MISSING_FILES.DMP if
|
|||
# Force storage in SRC_ARCHIVE
|
||||
fromARCHIVE=0;
|
||||
# Try to retrieve again the file.
|
||||
if ! wget "$URL" "$WGETPARAM"; then
|
||||
if ! wget "$URL" $WGETPARAM; then
|
||||
gs_wrt_message "$FILE not found on the server... SKIPPING"
|
||||
continue
|
||||
fi
|
||||
|
|
Reference in a new issue