diff options
author | Andreas Schwab <schwab@suse.de> | 2007-11-17 12:02:23 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2007-11-17 12:02:23 +0000 |
commit | c8efc0884b8890d338f1279ce3dbbcedea94e42c (patch) | |
tree | 8dd069214ff1bec97bed4971b60cc395866bcabf /update-subdirs | |
parent | a53bd46ef5d20b1d95d78e45c5aeec18abbff480 (diff) | |
download | emacs-c8efc0884b8890d338f1279ce3dbbcedea94e42c.tar.gz |
Atomically update subdirs.el.
Diffstat (limited to 'update-subdirs')
-rwxr-xr-x | update-subdirs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/update-subdirs b/update-subdirs index c1d44cab9b9..1d9cc68812c 100755 --- a/update-subdirs +++ b/update-subdirs @@ -37,17 +37,16 @@ done if [ "x$subdirs" = x ]; then rm -f subdirs.el else - - echo ";; -*- no-byte-compile: t -*-" > subdirs.el - - echo ";; In load-path, after this directory should come -;; certain of its subdirectories. Here we specify them." >> subdirs.el - - echo "(normal-top-level-add-to-load-path '($subdirs)) + rm -f subdirs.el~ + echo ";; -*- no-byte-compile: t -*- +;; In load-path, after this directory should come +;; certain of its subdirectories. Here we specify them. +(normal-top-level-add-to-load-path '($subdirs)) ;; Local" "Variables: ;; version-control: never ;; no-byte-compile: t -;; End:" >> subdirs.el +;; End:" > subdirs.el~ + mv subdirs.el~ subdirs.el fi # arch-tag: 56ebcf1b-5c30-4934-b0b4-72d374064704 |