[jhalfs] 04/05: Add an option for replacing ftp.gnu.org

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Wed, 01 Oct 2025 07:35:26 +0000
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

commit 8776107e9c74b1d1fe5d64607ddbb15fa6b42081
Author: Pierre Labastie <[email protected]>
AuthorDate: Wed Oct 1 09:31:29 2025 +0200

    Add an option for replacing ftp.gnu.org
    
    4 Change also the server in scripts for blfs tools
---
 common/libs/func_install_blfs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/libs/func_install_blfs b/common/libs/func_install_blfs
index b481c76..6458e94 100644
--- a/common/libs/func_install_blfs
+++ b/common/libs/func_install_blfs
@@ -153,6 +153,10 @@ yes "yes" | $BUILDDIR$BLFS_ROOT/gen_pkg_book.sh        \
                     $BUILDDIR$TRACKING_DIR/instpkg.xml \
                     $BUILDDIR$BLFS_ROOT
 
+# change ftp.gnu.org server in scripts
+for script in scripts/*
+   do sed -i [email protected]@"$GNU_REPLACE"@ $script
+done
 # Move the scriptlets where they should be
 sudo rm -rf $BUILDDIR$BLFS_ROOT/scripts
 mv scripts $BUILDDIR$BLFS_ROOT

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