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:
Pierre Labastie 2022-05-07 11:56:28 +02:00
parent 6df52e8417
commit 28ef51b817

View file

@ -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