Created
April 17, 2014 19:20
-
-
Save johndrinkwater/11005984 to your computer and use it in GitHub Desktop.
cat ScummVM_Linux/launch_spyfox1.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Game launcher shell script by Saleck | |
FindPath() | |
{ | |
X=`which "$1"` | |
Y=`readlink -e "$X"` | |
dirname "$Y" | |
} | |
if [ "${SCUMMVM_DATA_PATH}" = "" ]; then | |
SCUMMVM_DATA_PATH="`FindPath $0`" | |
fi | |
echo | |
cd "$SCUMMVM_DATA_PATH" | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs | |
exec ./scummvm -c "scummvm-spyfox1.ini" spyfox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment