summaryrefslogtreecommitdiffstats
path: root/manual tests/4 standalone binaries/myapp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'manual tests/4 standalone binaries/myapp.sh')
-rwxr-xr-xmanual tests/4 standalone binaries/myapp.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/manual tests/4 standalone binaries/myapp.sh b/manual tests/4 standalone binaries/myapp.sh
new file mode 100755
index 0000000..3191483
--- /dev/null
+++ b/manual tests/4 standalone binaries/myapp.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd "${0%/*}"
+
+if [ `uname` == 'Darwin' ]; then
+ ./myapp
+else
+ export LD_LIBRARY_PATH="`pwd`/lib"
+ bin/myapp
+fi