fixed shellcheck after latest patch

This commit is contained in:
Maarten van Gompel 2021-03-17 22:14:23 +01:00
parent 0221dd333d
commit 5da2f78665

View file

@ -27,7 +27,7 @@ sort_loop() {
while true; do
CHOICES="$(printf %b 'Reload\nClose Menu\nSort By\n../\n*\n'"$(ls -1p $SORT $REVERSE)")"
CHOICES="$(printf %b 'Reload\nClose Menu\nSort By\n../\n*\n'"$(ls -1p "$SORT" "$REVERSE")")"
DIR="$(basename "$(pwd)")"
TRUNCATED="$(printf %.7s "$DIR")"
if [ "$DIR" != "$TRUNCATED" ]; then