2018-02-08 21:28:33 -05:00
|
|
|
#!/bin/sh
|
|
|
|
WSJTX_BUNDLE="`echo "$0" | sed -e 's/\/Contents\/MacOS\/.*//'`"
|
|
|
|
WSJTX_RESOURCES="$WSJTX_BUNDLE/Contents/Resources"
|
2018-10-04 13:52:52 -04:00
|
|
|
WSJTX_TEMP="/tmp/js8call/$UID"
|
2018-02-08 21:28:33 -05:00
|
|
|
|
|
|
|
echo "running $0"
|
|
|
|
echo "WSJTX_BUNDLE: $WSJTX_BUNDLE"
|
|
|
|
|
|
|
|
# Setup temporary runtime files
|
|
|
|
rm -rf "$WSJTX_TEMP"
|
|
|
|
|
|
|
|
export "DYLD_LIBRARY_PATH=$WSJTX_RESOURCES/lib"
|
|
|
|
export "PATH=$WSJTX_RESOURCES/bin:$PATH"
|
|
|
|
|
|
|
|
#export
|
2018-10-04 13:52:52 -04:00
|
|
|
exec "$WSJTX_RESOURCES/bin/js8call"
|