From a97aa3dd0b36b95168f8f959284d5797a3484e5b Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 6 May 2020 14:58:26 +0000 Subject: Fix test for symlink when setting PATH git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11839 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter04/settingenviron.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml index a94586e0c..39dcdfa3d 100644 --- a/chapter04/settingenviron.xml +++ b/chapter04/settingenviron.xml @@ -44,7 +44,7 @@ LFS=/mnt/lfs LC_ALL=POSIX LFS_TGT=$(uname -m)-lfs-linux-gnu PATH=/usr/bin -if [ ! -l /bin ]; then PATH=/bin:$PATH; fi +if [ ! -L /bin ]; then PATH=/bin:$PATH; fi PATH=$LFS/tools/bin:$PATH export LFS LC_ALL LFS_TGT PATH EOF @@ -124,7 +124,7 @@ EOF - if [ ! -l /bin ]; then PATH=/bin:$PATH; fi + if [ ! -L /bin ]; then PATH=/bin:$PATH; fi If /bin is not a symbolic link, then it has to be added to the PATH variable. -- cgit v1.2.3-54-g00ecf