mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Fix test for symlink when setting PATH
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11839 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
c911069f9a
commit
a97aa3dd0b
@ -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</literal>
|
||||
EOF</userinput></screen>
|
||||
@ -124,7 +124,7 @@ EOF</userinput></screen>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>if [ ! -l /bin ]; then PATH=/bin:$PATH; fi</parameter></term>
|
||||
<term><parameter>if [ ! -L /bin ]; then PATH=/bin:$PATH; fi</parameter></term>
|
||||
<listitem>
|
||||
<para>If <filename class="directory">/bin</filename> is not a symbolic
|
||||
link, then it has to be added to the <envar>PATH</envar> variable.</para>
|
||||
|
Loading…
Reference in New Issue
Block a user