summaryrefslogtreecommitdiff
path: root/play.sh
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-02-15 12:44:37 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-02-15 12:44:37 +0100
commit88f2f591fa23f5ba92d8ee511d368349b390aa60 (patch)
treed085dbb74cce20e0a1dafe1191c12b3ca1cfda57 /play.sh
parent30a6b40a43a6608896e1622380d96aeba7f358a6 (diff)
downloadplay-88f2f591fa23f5ba92d8ee511d368349b390aa60.tar.gz
play-88f2f591fa23f5ba92d8ee511d368349b390aa60.tar.bz2
play-88f2f591fa23f5ba92d8ee511d368349b390aa60.zip
Renamed GPATH to EXE
Diffstat (limited to 'play.sh')
-rwxr-xr-xplay.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/play.sh b/play.sh
index 5162e84..efeb2be 100755
--- a/play.sh
+++ b/play.sh
@@ -243,7 +243,7 @@ play_setenv () {
# run game
play_run () {
- exc $GPATH "$ARGS"
+ exc $EXE "$ARGS"
}
# manipulate the newly created X instance
@@ -295,7 +295,7 @@ _list () { # {{{2
_new () { # {{{2
local GAME=$1
local DGAME="$PLAY_GAMES/$GAME"
- local GPATH=$2
+ local EXE=$2
local PREFIX=${${3}:-$GAME}
local convpath
@@ -307,7 +307,7 @@ _new () { # {{{2
[[ ! -e $WINEPREFIX ]] && die "Specified prefix '$PREFIX' does not exist"
- convpath="$(exc winepath -u $GPATH)"
+ convpath="$(exc winepath -u $EXE)"
[[ ! -e $convpath ]] && die "Specified executable does not exist"
@@ -318,7 +318,7 @@ _new () { # {{{2
inherit wine
$GPREFIX
-GPATH="$GPATH"
+EXE="$EXE"
# vim:ft=sh
EOF