From 9a1a13fe90acb790e945daa7b2a9a9ed5e70798a Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 17 Mar 2021 16:45:10 -0500 Subject: source download.sh from lfs.sh and don't source lfs.sh from download.sh resulting in an infinite loop. Add commnds to lfs.sh to cpoy scripts and csv to /sources then cd into that directory, set the PATH to use tools/bin and download source. --- lfs.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lfs.sh') diff --git a/lfs.sh b/lfs.sh index 871f792..70737bc 100755 --- a/lfs.sh +++ b/lfs.sh @@ -1,6 +1,6 @@ #!/bin/bash -./versioncheck.sh +source versioncheck.sh export LFS_VER=LFS10_1 export LFS=/mnt/lfs @@ -35,3 +35,9 @@ esac #sudo useradd -s /bin/bash -g lfs -m -k /dev/null lfs #echo -e "${LFS_PWD}\n${LFS_PWD}\n" | sudo passwd lfs + +cp -rf *.sh packages.csv "${LFS}/sources" +cd "${LFS}/sources" +export PATH="${LFS}/tools/bin:${PATH}" + +source download.sh \ No newline at end of file -- cgit v1.2.3-54-g00ecf