summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-08 15:37:35 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-08 15:37:35 +0200
commit83fa9d8fc2a3d3f133220b46bfb21a3ce3d57ba4 (patch)
treee400c9c1c4cd59e423eed53e9a6c5f1500557831
parent3ee5431c7e270d7bf706fcf7530a6eb2c78480c3 (diff)
Fix error when trying to make the openssl symlink again.
-rwxr-xr-xrun/tests4
1 files changed, 3 insertions, 1 deletions
diff --git a/run/tests b/run/tests
index 8b54d2b45..afec5d2e7 100755
--- a/run/tests
+++ b/run/tests
@@ -6,7 +6,9 @@ if [ "$(uname)" == "Linux" ]; then
export LD_LIBRARY_PATH=build/src/lib:/home/c.hetherington/lib:$LD_LIBRARY_PATH
rm -f build/test/openssl
# This must be our patched openssl or tests will fail
- ln -s ../../../openssl/apps/openssl build/test/dcpomatic2_openssl
+ if [ ! -f build/test/dcpomatic2_openssl ]; then
+ ln -s ../../../openssl/apps/openssl build/test/dcpomatic2_openssl
+ fi
fi
if [ "$1" == "--debug" ]; then