Fix error when trying to make the openssl symlink again.
authorCarl Hetherington <cth@carlh.net>
Thu, 8 Oct 2020 13:37:35 +0000 (15:37 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 8 Oct 2020 13:37:35 +0000 (15:37 +0200)
run/tests

index 8b54d2b457757a174818b6cc63e112bd0cd287b5..afec5d2e79a729d1a1175ca8547c2b0e0a6b0a2f 100755 (executable)
--- 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