+ if [ ! -f build/test/dcpomatic2_openssl ]; then
+ ln -s ../../../openssl/apps/openssl build/test/dcpomatic2_openssl
+ fi
+fi
+
+if [ "$(uname)" == "Darwin" ]; then
+ resources=build/Resources
+ rm -rf $resources
+ mkdir -p $resources
+ cp fonts/*.ttf $resources
+ cp -r ../libdcp/tags $resources
+ cp -r ../libdcp/xsd $resources
+ cp ../libdcp/ratings $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
+ export DYLD_LIBRARY_PATH=/Users/ci/osx-environment/x86_64/10.10/lib:/Users/ci/workspace/lib
+ # We need to find ffcmp in here
+ export PATH=$PATH:/Users/ci/workspace/bin