diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-05-28 17:39:56 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-05-28 17:39:56 +0000 |
commit | 792414668fce5c1fa0fd933f1ebeea99317b6ecc (patch) | |
tree | 28bbac4a8e249629a56f3e899d9e2ba49256de71 /update-subdirs | |
parent | 5e84e8f9ac86bba843557c809ca879acc63db4c9 (diff) | |
download | emacs-792414668fce5c1fa0fd933f1ebeea99317b6ecc.tar.gz |
Don't touch subdirs.el if it is unchanged.
Diffstat (limited to 'update-subdirs')
-rwxr-xr-x | update-subdirs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/update-subdirs b/update-subdirs index d7e7012dadc..b4df2cea045 100755 --- a/update-subdirs +++ b/update-subdirs @@ -45,7 +45,11 @@ else ;; version-control: never ;; no-byte-compile: t ;; End:" > subdirs.el~ + if cmp "subdirs.el" "subdirs.el~" >/dev/null 2>&1; then + :; # echo "subdirs.el unchanged"; + else mv subdirs.el~ subdirs.el + fi fi # arch-tag: 56ebcf1b-5c30-4934-b0b4-72d374064704 |