failed attempt to fix shellcheck broke script, reverting

This commit is contained in:
Maarten van Gompel 2021-03-22 20:06:48 +01:00
parent 5f45d8117d
commit c043c50175

View file

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