From 17e6becc3c1ad5cf2f9f6001120371a7a557cd6d Mon Sep 17 00:00:00 2001 From: Boud Roukema Date: Wed, 19 Feb 2025 16:07:53 +0100 Subject: Configuration: typo corrections in configure.sh 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. --- reproduce/software/shell/configure.sh | 4 ++-- 1 file 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#/[^/]*$##' \ -- cgit v1.2.1