fixed shellcheck after latest patch

master
Maarten van Gompel 4 years ago
parent 0221dd333d
commit 5da2f78665
  1. 2
      scripts/appscripts/sxmo_files.sh

@ -27,7 +27,7 @@ sort_loop() {
while true; do 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)")" DIR="$(basename "$(pwd)")"
TRUNCATED="$(printf %.7s "$DIR")" TRUNCATED="$(printf %.7s "$DIR")"
if [ "$DIR" != "$TRUNCATED" ]; then if [ "$DIR" != "$TRUNCATED" ]; then

Loading…
Cancel
Save