summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-06-25 20:10:02 +0200
committerCarl Hetherington <cth@carlh.net>2024-06-25 20:10:02 +0200
commit8b45384a7c9162d30309345ae863b4cab86aeda1 (patch)
tree33a15c00f5d5f3bccd14966b5dd1b2f4913da664
parent2553a6cf6ff68436246b27c6a113104534039ecd (diff)
Fix thinko in run/tests on macOS.
-rwxr-xr-xrun/tests6
1 files changed, 5 insertions, 1 deletions
diff --git a/run/tests b/run/tests
index 9bbfb3fc6..4e38dbfce 100755
--- a/run/tests
+++ b/run/tests
@@ -86,7 +86,11 @@ if [ "$(uname)" == "Darwin" ]; then
ln -s ../../../openssl/apps/openssl build/test/openssl
# We need to find ffcmp in here
export PATH=$PATH:$HOME/workspace/bin
- export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$environment/$(uname -m)/11.0/lib
+ if [ -d "$environment/$(uname -m)/11.0" ]; then
+ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$environment/$(uname -m)/11.0/lib
+ else
+ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$environment/$(uname -m)/10.10/lib
+ fi
fi
if [ "$check" == "1" ]; then