]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix shellcheck warning
authorStefan Kangas <stefan@marxist.se>
Tue, 22 Sep 2020 00:33:42 +0000 (02:33 +0200)
committerStefan Kangas <stefan@marxist.se>
Tue, 22 Sep 2020 00:44:47 +0000 (02:44 +0200)
* build-aux/update-subdirs: Fix issue indicated by the shellcheck
linter (warning SC2046).

build-aux/update-subdirs

index 336029fb71067d4ff85406e35ccc2d43a5dae103..96712f0b32e5a9b7e8e2c7a8cc81dcf527497b84 100755 (executable)
@@ -26,7 +26,7 @@ for file in *; do
        *.elc | *.el | term | RCS | CVS | Old | . | .. | =* | *~ | *.orig | *.rej)
          ;;
        *)
-           if [ -d $file ]; then
+            if [ -d "$file" ]; then
                if [ "$file" = "obsolete" ]; then
                    subdirs="$subdirs \"$file\""
                else