mirror of
https://gitlab.com/mattia.basaglia/ASCII-Pony.git
synced 2024-11-24 13:07:58 +01:00
Fix hardcoded path
This commit is contained in:
parent
85bad2ecb5
commit
2612faf2bd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue