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 | a37f048b420f054d4101bccf79d5a2f1e6f2b990 (patch) | |
tree | d9833bcf4e26d8cfdcfe983d609aebbef318bf8e /update-subdirs | |
parent | 8dc3e753f5cb84f91ce5a19ba6d534a1a8f94cc2 (diff) | |
download | emacs-a37f048b420f054d4101bccf79d5a2f1e6f2b990.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 |