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:
Pierre Labastie 2020-05-06 14:58:26 +00:00
parent c911069f9a
commit a97aa3dd0b

View File

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