summaryrefslogtreecommitdiff
path: root/build-aux/update-subdirs
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/update-subdirs')
-rwxr-xr-xbuild-aux/update-subdirs6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/update-subdirs b/build-aux/update-subdirs
index 64197589252..95cf06bb5c2 100755
--- a/build-aux/update-subdirs
+++ b/build-aux/update-subdirs
@@ -1,7 +1,7 @@
#!/bin/sh
# Write into $1/subdirs.el a list of subdirs of directory $1.
-# Copyright (C) 1994-1995, 1997, 1999, 2001-2017 Free Software
+# Copyright (C) 1994-1995, 1997, 1999, 2001-2022 Free Software
# Foundation, Inc.
# This file is part of GNU Emacs.
@@ -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
@@ -41,7 +41,7 @@ if [ "x$subdirs" = x ]; then
rm -f subdirs.el
else
rm -f subdirs.el~
- echo ";; In load-path, after this directory should come
+ echo ";; In load-path, after this directory should come -*- lexical-binding: t -*-
;; certain of its subdirectories. Here we specify them.
(normal-top-level-add-to-load-path '($subdirs))
;; Local" "Variables: