diff options
| author | Stefan Monnier | 2008-05-28 17:39:56 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-05-28 17:39:56 +0000 |
| commit | 792414668fce5c1fa0fd933f1ebeea99317b6ecc (patch) | |
| tree | 28bbac4a8e249629a56f3e899d9e2ba49256de71 /update-subdirs | |
| parent | 5e84e8f9ac86bba843557c809ca879acc63db4c9 (diff) | |
| download | emacs-792414668fce5c1fa0fd933f1ebeea99317b6ecc.tar.gz emacs-792414668fce5c1fa0fd933f1ebeea99317b6ecc.zip | |
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 | |||
| 45 | ;; version-control: never | 45 | ;; version-control: never |
| 46 | ;; no-byte-compile: t | 46 | ;; no-byte-compile: t |
| 47 | ;; End:" > subdirs.el~ | 47 | ;; End:" > subdirs.el~ |
| 48 | if cmp "subdirs.el" "subdirs.el~" >/dev/null 2>&1; then | ||
| 49 | :; # echo "subdirs.el unchanged"; | ||
| 50 | else | ||
| 48 | mv subdirs.el~ subdirs.el | 51 | mv subdirs.el~ subdirs.el |
| 52 | fi | ||
| 49 | fi | 53 | fi |
| 50 | 54 | ||
| 51 | # arch-tag: 56ebcf1b-5c30-4934-b0b4-72d374064704 | 55 | # arch-tag: 56ebcf1b-5c30-4934-b0b4-72d374064704 |