diff options
author | David Cole <david.cole@kitware.com> | 2008-07-30 20:36:22 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-07-30 20:36:22 (GMT) |
commit | 6ec7ec20792c5a83bad99066447965baad59b831 (patch) | |
tree | 97fdf0e11091c9b71a2f06eb06c46c0afcd1ba1e /Tests/BundleGeneratorTest/StartupCommand | |
parent | bab77e53e3aef9c07fe488e73be8dc7d60aaa4fc (diff) | |
download | CMake-6ec7ec20792c5a83bad99066447965baad59b831.zip CMake-6ec7ec20792c5a83bad99066447965baad59b831.tar.gz CMake-6ec7ec20792c5a83bad99066447965baad59b831.tar.bz2 |
ENH: Add test for the new CPack BundleGenerator. Thanks to Tim Shead for the patch. See issue #7170 for more details.
Diffstat (limited to 'Tests/BundleGeneratorTest/StartupCommand')
-rwxr-xr-x | Tests/BundleGeneratorTest/StartupCommand | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/BundleGeneratorTest/StartupCommand b/Tests/BundleGeneratorTest/StartupCommand new file mode 100755 index 0000000..5bc5ad2 --- /dev/null +++ b/Tests/BundleGeneratorTest/StartupCommand @@ -0,0 +1,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" + |