Skip to content

Instantly share code, notes, and snippets.

@johndrinkwater
Created April 17, 2014 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johndrinkwater/11005984 to your computer and use it in GitHub Desktop.
Save johndrinkwater/11005984 to your computer and use it in GitHub Desktop.
cat ScummVM_Linux/launch_spyfox1.sh
#!/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