mirror of
https://gitlab.com/mattia.basaglia/ASCII-Pony.git
synced 2024-11-28 06:48:00 +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"
|
ponyfile="$ponydir/$PONY.colored.txt"
|
||||||
if [ -n "$ponydir" -a '(' -z "$PONY" -o "$PONY" = random ')' ]
|
if [ -n "$ponydir" -a '(' -z "$PONY" -o "$PONY" = random ')' ]
|
||||||
then
|
then
|
||||||
ponyfile="$(find rendered/ansi/ -name '*.colored.txt' | shuf | head -n 1)"
|
ponyfile="$(find "$ponydir" -name '*.colored.txt' | shuf | head -n 1)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue