X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2d809ffafd3e1bde360c08f3be4b7d9a43ff5f0e..fdcf46d33eebc59e56a35fcea186c61aad3c81d0:/build-aux/update-subdirs?ds=sidebyside diff --git a/build-aux/update-subdirs b/build-aux/update-subdirs index 3c429b8b5e..6b7d0bd533 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-2013 Free Software +# Copyright (C) 1994-1995, 1997, 1999, 2001-2016 Free Software # Foundation, Inc. # This file is part of GNU Emacs. @@ -20,7 +20,7 @@ # along with GNU Emacs. If not, see . -cd $1 +cd "$1" || exit 1 for file in *; do case $file in *.elc | *.el | term | RCS | CVS | Old | . | .. | =* | *~ | *.orig | *.rej) @@ -47,6 +47,7 @@ else ;; Local" "Variables: ;; version-control: never ;; no-byte-compile: t +;; no-update-autoloads: t ;; End:" > subdirs.el~ if cmp "subdirs.el" "subdirs.el~" >/dev/null 2>&1; then rm subdirs.el~