summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
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 3c429b8b5e4..fb271f76ddd 100755
--- a/build-aux/update-subdirs
+++ b/build-aux/update-subdirs
@@ -20,7 +20,7 @@
# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
-cd $1
+cd "$1" || exit 1
for file in *; do
case $file in
*.elc | *.el | term | RCS | CVS | Old | . | .. | =* | *~ | *.orig | *.rej)