summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-09-14 02:18:38 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-09-14 02:18:38 +0200
commita9a7249c1b32d1f17cac5471e8352aa574d84971 (patch)
tree0e25bdf5d2e415c41db967aa1087d1aaa459ed89
parent1003ba950d6cadeb0041584c06049b76d13f86d5 (diff)
downloadplay-a9a7249c1b32d1f17cac5471e8352aa574d84971.tar.gz
play-a9a7249c1b32d1f17cac5471e8352aa574d84971.tar.bz2
play-a9a7249c1b32d1f17cac5471e8352aa574d84971.zip
Log to stderr
-rwxr-xr-xplay.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/play.sh b/play.sh
index 61ac00e..5f41487 100755
--- a/play.sh
+++ b/play.sh
@@ -15,11 +15,11 @@ BIN=$0
# global functions {{{
out () {
- echo ">>> $@"
+ echo ">>> $@" >&2
}
log () {
- [[ $PLAY_DEBUG > 0 ]] && echo "*** $@"
+ [[ $PLAY_DEBUG > 0 ]] && echo "*** $@" >&2
}
die () {
@@ -129,7 +129,7 @@ else
DGAME="$PLAY_GAMES/$GAME"
list () {
- out "Games are:"
+ out "The installed games are:"
for k in $PLAY_GAMES/*(.,@:t); do
echo "\t> $k"
done