aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-19 18:04:05 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-19 18:04:05 +0200
commit41b2d257c71f654dd2fd9921d1f75f44b97a6592 (patch)
tree3cb8cf223d1b6ef7f003541a15c336eba9a5c44f /ponysay
parent89dbefc31300178179d4afc80c4481a07ff6b590 (diff)
downloadponysay-41b2d257c71f654dd2fd9921d1f75f44b97a6592.tar.gz
ponysay-41b2d257c71f654dd2fd9921d1f75f44b97a6592.tar.bz2
ponysay-41b2d257c71f654dd2fd9921d1f75f44b97a6592.zip
fix for issue #70
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index 9936fae..e08fb1e 100755
--- a/ponysay
+++ b/ponysay
@@ -268,7 +268,7 @@ fi
# Pony not a file? Search for it
-if [ ! -f $pony ]; then
+if [ ! -f "$pony" ]; then
ponies=()
[ -d $SYSTEMPONIES ] && ponies+=( "$SYSTEMPONIES"/$pony.pony )
[ -d $HOMEPONIES ] && ponies+=( "$HOMEPONIES"/$pony.pony )