From 315ce2397efab99a8a15cd2bb73367b00f178418 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Fri, 2 Apr 2021 11:08:30 -0500 Subject: Use if [[ ... ]] instead of [ ... ] and change retval check in setupdisk when checking exit code when creating partition. --- env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'env.sh') 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 -- cgit v1.2.3-54-g00ecf