summaryrefslogtreecommitdiffstats
path: root/Tests/BundleGeneratorTest/StartupCommand
blob: 5bc5ad2370714873c3540f9c9b72cc62667ae3cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

BUNDLE="`echo "$0" | sed -e 's/\/Contents\/MacOS\/.*//'`"
RESOURCES="$BUNDLE/Contents/Resources"

echo "BUNDLE: $BUNDLE"
echo "RESOURCES: $RESOURCES"

export DYLD_LIBRARY_PATH=$RESOURCES/lib

exec "$RESOURCES/bin/Executable"