Improve start.sh scritp for steamos build
This commit is contained in:
parent
5f48d16990
commit
4638a4b5b8
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
GAMEDIR=$(cd "${0%/*}" && echo $PWD)
|
gamedir=${0%/*}
|
||||||
cd "$GAMEDIR"
|
cd "$gamedir" || exit
|
||||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GAMEDIR/lib64"
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gamedir/lib64"
|
||||||
exec ./wesnoth "$@"
|
exec ./wesnoth "$@"
|
||||||
|
|
Loading…
Add table
Reference in a new issue