Changeset 28ef51b


Ignore:
Timestamp:
05/07/2022 09:56:28 AM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
86debb0
Parents:
6df52e8
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_download_pkgs

    r6df52e8 r28ef51b  
    6060          echo "${BOLD}${YELLOW}$FILE: not found in ${BUILDDIR}/sources${OFF}"
    6161        fi
    62         if ! wget "$URL" "$WGETPARAM"; then
     62        if ! wget "$URL" $WGETPARAM; then
    6363          gs_wrt_message "$FILE not found on any server..SKIPPING"
    6464          continue
     
    8383      fromARCHIVE=0;
    8484        # Try to retrieve again the file.
    85       if ! wget "$URL" "$WGETPARAM"; then
     85      if ! wget "$URL" $WGETPARAM; then
    8686        gs_wrt_message "$FILE not found on the server... SKIPPING"
    8787        continue
Note: See TracChangeset for help on using the changeset viewer.