]> code.delx.au - gnu-emacs/blobdiff - build-aux/update-subdirs
rect.el: Suppress superfluous "Mark set" message from push-mark.
[gnu-emacs] / build-aux / update-subdirs
index 3c429b8b5e431b43cc6406e2b1f09b05768c2bc7..d544b226951f07890529885e6acb5be512325318 100755 (executable)
@@ -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-2013 Free Software
+# Copyright (C) 1994-1995, 1997, 1999, 2001-2015 Free Software
 # Foundation, Inc.
 
 # This file is part of GNU Emacs.
@@ -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)