mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
5a56cbdedb
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4549 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
16 lines
394 B
Bash
16 lines
394 B
Bash
#!/bin/sh
|
|
WSJTX_BUNDLE="`echo "$0" | sed -e 's/\/Contents\/MacOS\/.*//'`"
|
|
WSJTX_RESOURCES="$WSJTX_BUNDLE/Contents/Resources"
|
|
WSJTX_TEMP="/tmp/wsjtx/$UID"
|
|
|
|
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
|
|
exec "$WSJTX_RESOURCES/bin/wsjtx" |