Created
December 27, 2008 07:26
-
-
Save nogweii/40219 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 | |
| # planeshift.sh - A generic launcher for the ps* stuff in the SVN co. | |
| # This file can be anywhere in the file system, just make sure PLANES (set below) is correct. | |
| # Note: If you just copied/pasted the commands from the compiling guide, change the 2 export commands to | |
| # use "../cs/" instead of "../crystalspace/" | |
| # | |
| # USAGE: ./planeshift.sh [setup|launch|client] | |
| PLANES=$HOME/local/planeshift # The location of the planeshift SVN checkout | |
| cd $PLANES | |
| export LD_LIBRARY_PATH="$PLANES/../cal3d/src/cal3d/.libs/:$(pwd)/../crystalspace/:$LD_LIBRARY_PATH" | |
| export CRYSTAL="$PLANES/../crystalspace" | |
| ./ps$1 -cfgset=PlaneShift.UserConfigPath=$PLANES/config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment