rm -f build/test/dcpomatic2_openssl
# This must be our patched openssl or tests will fail
if [ ! -f build/test/dcpomatic2_openssl ]; then
rm -f build/test/dcpomatic2_openssl
# This must be our patched openssl or tests will fail
if [ ! -f build/test/dcpomatic2_openssl ]; then
cp fonts/*.ttf $resources
cp -r ../libdcp/tags $resources
cp -r ../libdcp/xsd $resources
cp fonts/*.ttf $resources
cp -r ../libdcp/tags $resources
cp -r ../libdcp/xsd $resources
rm -f build/test/openssl
ln -s ../../../openssl/apps/openssl build/test/openssl
# SIP stops this being passed in from the caller's environment
rm -f build/test/openssl
ln -s ../../../openssl/apps/openssl build/test/openssl
# SIP stops this being passed in from the caller's environment