aboutsummaryrefslogtreecommitdiffstats
path: root/env.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 11:08:30 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 11:08:30 -0500
commit315ce2397efab99a8a15cd2bb73367b00f178418 (patch)
treed9798c354440ce542c2a9c5e1b93024ee56df99e /env.sh
parente8c0f5a1a0d7ccee510fa59e577cccd46d68e3f8 (diff)
Use if [[ ... ]] instead of [ ... ] and change retval check in setupdisk when checking exit code when creating partition.
Diffstat (limited to 'env.sh')
-rw-r--r--env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.sh b/env.sh
index 7a690e4..5e11081 100644
--- a/env.sh
+++ b/env.sh
@@ -10,7 +10,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}"
CONFIG_SITE="${LFS}/usr/share/config.site"
# End book environment settings