summaryrefslogtreecommitdiff
path: root/play.sh
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-10-04 23:49:58 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-10-04 23:49:58 +0200
commit6486934b351e1e6f65f26e445ebf16db7094b475 (patch)
tree9a26203e657e11a70c1fb93ffbf65a1a95afa55d /play.sh
parent855946fa969e77dcd96f30e3c5ae52a5e56b92f2 (diff)
downloadplay-6486934b351e1e6f65f26e445ebf16db7094b475.tar.gz
play-6486934b351e1e6f65f26e445ebf16db7094b475.tar.bz2
play-6486934b351e1e6f65f26e445ebf16db7094b475.zip
cd into dir
Diffstat (limited to 'play.sh')
-rwxr-xr-xplay.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/play.sh b/play.sh
index 5a89bac..f1d86ba 100755
--- a/play.sh
+++ b/play.sh
@@ -108,6 +108,10 @@ play_setenv () {
}
play_run () {
+ # cd into dir
+ local dir=$(exc winepath -u "$GPATH")
+ exc cd $(dirname $dir)
+
# start game
exc wine start $GPATH "$ARGS"