Created
June 26, 2014 15:47
-
-
Save mattdeboard/0ec74df01653dcb9e20f to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
| # | |
| # This is a script which sets the lib path then launches BBT | |
| # The program location | |
| TOP=$(cd "${0%/*}" && echo ${PWD}) | |
| PROGRAM="${TOP}/BattleBlockTheater" | |
| # Add the current directory to the library path to pick up libsteam_api.so | |
| export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:." | |
| export _JAVA_AWT_WM_NONREPARENTING=1 | |
| echo "This is my LD_LIBRARY_PATH\n" | |
| echo "${LD_LIBRARY_PATH}" | |
| echo "End LD_LIBRARY_PATH\n" | |
| exec "${PROGRAM}" "$@" | |
| # vi: ts=4 sw=4 expandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment