failed attempt to fix shellcheck broke script, reverting

master
Maarten van Gompel 4 years ago
parent 5f45d8117d
commit c043c50175
  1. 3
      scripts/appscripts/sxmo_files.sh

@ -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

Loading…
Cancel
Save