aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xreproduce/software/shell/configure.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/reproduce/software/shell/configure.sh b/reproduce/software/shell/configure.sh
index d58a829..dafd149 100755
--- a/reproduce/software/shell/configure.sh
+++ b/reproduce/software/shell/configure.sh
@@ -563,7 +563,7 @@ fi
# similarly different location.
sys_cpath=""
sys_library_path=""
-if [ x"$$on_mac_os" != xyes ]; then
+if [ x"$on_mac_os" != xyes ]; then
# Get the GCC target name of the compiler, when its given, special
# C libraries and headers are in a sub-directory of the host.
@@ -1584,7 +1584,7 @@ fi
# cause a crash! To avoid such cases, we need to find the locations of the
# libraries that the shell needs and temporarily add them to the library
# search path.
-if [ x"$on_mac_os" != xyes ]; then
+if [ x"$on_mac_os" = xyes ]; then
sys_library_sh_path=$(otool -L /bin/sh \
| awk '/\/lib/{print $1}' \
| sed 's#/[^/]*$##' \