aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software
diff options
context:
space:
mode:
authorBoud Roukema <boud@cosmo.torun.pl>2025-02-19 16:07:53 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2025-02-19 17:40:35 +0100
commit17e6becc3c1ad5cf2f9f6001120371a7a557cd6d (patch)
treed22045669f8fb95854b8b7a440b82e6c1c0c5df9 /reproduce/software
parentdd051d614e7db846a538dabb0e2d80afd8e75fa9 (diff)
Configuration: typo corrections in configure.shHEADmaneage
SUMMARY: this is just a houskeeping commit (no effect on your project). Until this commit, two of the configure.sh checks for being on a macOS system had typos (and were thus being wrongly evaluated). In one case, the variable was called with a '$$' (instead of a single '$') and in the other a '!=' was used (instead of a '=') resulting in a macOS command ('otool') being called on GNU/Linux systems. With this commit, both typos are corrected.
Diffstat (limited to 'reproduce/software')
-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#/[^/]*$##' \