From 2612faf2bd0433d9173278f858aad72d4dcc43c6 Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Thu, 25 Dec 2014 19:59:45 +0100 Subject: [PATCH] Fix hardcoded path --- systempony | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systempony b/systempony index d328127..754e672 100755 --- a/systempony +++ b/systempony @@ -228,7 +228,7 @@ ponydir=$(get_data_file "rendered/ansi/") ponyfile="$ponydir/$PONY.colored.txt" if [ -n "$ponydir" -a '(' -z "$PONY" -o "$PONY" = random ')' ] then - ponyfile="$(find rendered/ansi/ -name '*.colored.txt' | shuf | head -n 1)" + ponyfile="$(find "$ponydir" -name '*.colored.txt' | shuf | head -n 1)" fi