[jhalfs] branch trunk updated: Don't use wget in func_download_packages

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Fri, 24 Jan 2025 18:35:03 +0000
Newsgroups gmane.linux.lfs.automated
Message-ID <173774370357.27000.3454742631337623078@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 3f4b37b  Don't use wget in func_download_packages
3f4b37b is described below

commit 3f4b37b23a681f9777e0967514ddb3cd7532bf8f
Author: Pierre Labastie <[email protected]>
AuthorDate: Fri Jan 24 19:31:47 2025 +0100

    Don't use wget in func_download_packages
    
    Now, we have a variable $DOWNLOADER for the executable, and
    $DOWNLDPARAM for the parameters. This occurrence of wget was forgotten
    in previous commit.
    
    Fix #1744 again
---
 common/libs/func_download_pkgs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/libs/func_download_pkgs b/common/libs/func_download_pkgs
index 777b879..afa49db 100644
--- a/common/libs/func_download_pkgs
+++ b/common/libs/func_download_pkgs
@@ -92,7 +92,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 ! $DOWNLOADER "$URL" $DOWNLDPARAM; then
         gs_wrt_message "$FILE not found on the server... SKIPPING"
         continue
       fi

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page