diff --git a/ponysay b/ponysay index 9936faed..e08fb1ed 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 )