[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 797ff44 2/2: Fix shellcheck warning
From: |
Stefan Kangas |
Subject: |
master 797ff44 2/2: Fix shellcheck warning |
Date: |
Mon, 21 Sep 2020 20:45:30 -0400 (EDT) |
branch: master
commit 797ff44d53ef4c4b800de8467b403c876cac3c1f
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Fix shellcheck warning
* build-aux/update-subdirs: Fix issue indicated by the shellcheck
linter (warning SC2046).
---
build-aux/update-subdirs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-aux/update-subdirs b/build-aux/update-subdirs
index 336029f..96712f0 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