summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-09-22 02:33:42 +0200
committerStefan Kangas <stefan@marxist.se>2020-09-22 02:44:47 +0200
commit797ff44d53ef4c4b800de8467b403c876cac3c1f (patch)
treeda818e1ac46e19c09d93a49b49e90531a7445367 /build-aux
parent2788557000d91fb2a928286512c0871e64c6d79b (diff)
downloademacs-797ff44d53ef4c4b800de8467b403c876cac3c1f.tar.gz
Fix shellcheck warning
* build-aux/update-subdirs: Fix issue indicated by the shellcheck linter (warning SC2046).
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/update-subdirs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/update-subdirs b/build-aux/update-subdirs
index 336029fb710..96712f0b32e 100755
--- a/build-aux/update-subdirs
+++ b/build-aux/update-subdirs
@@ -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