Changeset a97aa3d for chapter04


Ignore:
Timestamp:
05/06/2020 02:58:26 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
f7ca699b
Parents:
c911069
Message:

Fix test for symlink when setting PATH

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11839 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter04/settingenviron.xml

    rc911069 ra97aa3d  
    4545LFS_TGT=$(uname -m)-lfs-linux-gnu
    4646PATH=/usr/bin
    47 if [ ! -l /bin ]; then PATH=/bin:$PATH; fi
     47if [ ! -L /bin ]; then PATH=/bin:$PATH; fi
    4848PATH=$LFS/tools/bin:$PATH
    4949export LFS LC_ALL LFS_TGT PATH</literal>
     
    125125
    126126    <varlistentry>
    127             <term><parameter>if [ ! -l /bin ]; then PATH=/bin:$PATH; fi</parameter></term>
     127      <term><parameter>if [ ! -L /bin ]; then PATH=/bin:$PATH; fi</parameter></term>
    128128      <listitem>
    129129  <para>If <filename class="directory">/bin</filename> is not a symbolic
Note: See TracChangeset for help on using the changeset viewer.