Browse files

Modified startup script to pass cmd line parameters.

This script is incomplete. Users might want to add $ cd [game-dir] at
the top of the script because it won't run anywhere else except form the
game folder.
  • Loading branch information...
1 parent 476d528 commit 0da2608049b4efec781744539659771f6fedb908 @petarov committed Jun 8, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 run.sh
View
4 run.sh
@@ -3,7 +3,7 @@
CUR_DIR="$(dirname $(readlink -f $0))"
-export LD_LIBRARY_PATH="$CUR_DIR":.
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUR_DIR:.
# Run the game
-./savagewheels
+exec ./savagewheels "$@"

0 comments on commit 0da2608

Please sign in to comment.