summaryrefslogtreecommitdiff
path: root/play.sh
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-09-13 23:18:29 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-09-13 23:18:29 +0200
commit4be755fa1ff878c70f763d6c163aed6a51f9811a (patch)
tree9ec3bbaa4fb08f107d5aba586909b394e44a6166 /play.sh
parentb7fcaafc08e73033cf42568b265dfd5a3c143d06 (diff)
downloadplay-4be755fa1ff878c70f763d6c163aed6a51f9811a.tar.gz
play-4be755fa1ff878c70f763d6c163aed6a51f9811a.tar.bz2
play-4be755fa1ff878c70f763d6c163aed6a51f9811a.zip
Introduced 'installed' directory, which is now sourced instead of the more general 'games'
Diffstat (limited to 'play.sh')
-rwxr-xr-xplay.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.sh b/play.sh
index 912ce9f..61ac00e 100755
--- a/play.sh
+++ b/play.sh
@@ -6,7 +6,7 @@ PLAY_DEBUG=${PLAY_DEBUG:-0}
[[ $PLAY_DEBUG == 2 ]] && setopt xtrace
PLAY_DIR="${PLAY_DIR:-${0:h}}"
-PLAY_GAMES="${PLAY_GAMES:-$PLAY_DIR/games}"
+PLAY_GAMES="${PLAY_GAMES:-$PLAY_DIR/installed}"
PLAY_TEMPLATES="${PLAY_TEMPLATES:-$PLAY_DIR/templates}"
typeset -A ENV EENV
@@ -130,7 +130,7 @@ else
list () {
out "Games are:"
- for k in $PLAY_GAMES/*(.:t); do
+ for k in $PLAY_GAMES/*(.,@:t); do
echo "\t> $k"
done
}