From: Carl Hetherington Date: Thu, 8 Oct 2020 13:37:35 +0000 (+0200) Subject: Fix error when trying to make the openssl symlink again. X-Git-Tag: v2.15.104~62 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=83fa9d8fc2a3d3f133220b46bfb21a3ce3d57ba4 Fix error when trying to make the openssl symlink again. --- 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