0

Update master

This commit is contained in:
Ethan Lee
2012-06-17 05:58:29 -03:00
parent 0aae325d8c
commit e91408ad6f

View File

@@ -1,3 +1,17 @@
#!/bin/bash
# Move to script's directory
cd `dirname $0`
# Get the kernel information
UNAME=`uname`
# Set the proper libpath
if [ "$UNAME" == "Darwin" ]; then
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:./
elif [ "$UNAME" == "Linux" ]; then
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./
fi
# Run the server!
java -jar lwjake2.jar +set dedicated 1 $@