diff options
author | Andreas Schwab <schwab@suse.de> | 2007-11-17 12:02:32 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2007-11-17 12:02:32 +0000 |
commit | 8d6069a493028afaaf923e7cbea96e747ba5a6ef (patch) | |
tree | ec7ca4a9abdc07433c0916515f5454beddd5fec2 /update-subdirs | |
parent | 4e60b1b66c943ba03bb36897c4df5012c068ffd4 (diff) | |
download | emacs-8d6069a493028afaaf923e7cbea96e747ba5a6ef.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 |