From c043c50175e47693b1ab4d0194a839792035604a Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Mon, 22 Mar 2021 20:06:48 +0100 Subject: [PATCH] failed attempt to fix shellcheck broke script, reverting --- scripts/appscripts/sxmo_files.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/appscripts/sxmo_files.sh b/scripts/appscripts/sxmo_files.sh index fe1b1c1..874a38c 100755 --- a/scripts/appscripts/sxmo_files.sh +++ b/scripts/appscripts/sxmo_files.sh @@ -27,7 +27,8 @@ sort_loop() { 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)")" TRUNCATED="$(printf %.7s "$DIR")" if [ "$DIR" != "$TRUNCATED" ]; then