From 6486934b351e1e6f65f26e445ebf16db7094b475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 4 Oct 2010 23:49:58 +0200 Subject: cd into dir --- play.sh | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit v1.2.3