]> git.eshelyaron.com Git - emacs.git/commitdiff
Atomically update subdirs.el.
authorAndreas Schwab <schwab@suse.de>
Sat, 17 Nov 2007 12:02:32 +0000 (12:02 +0000)
committerAndreas Schwab <schwab@suse.de>
Sat, 17 Nov 2007 12:02:32 +0000 (12:02 +0000)
ChangeLog
update-subdirs

index a65c581ac4fb6aa063bc929a74bc0d25f068f9b0..c2cf2d8ef13316b07b6f36f2a59e42562b843f86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-17  Andreas Schwab  <schwab@suse.de>
+
+       * update-subdirs: Atomically update subdirs.el.
+
 2007-11-17  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (check-declare): New target.
index c1d44cab9b931440ddf2780bb0c02703b20d1b10..1d9cc68812c1e3db53e4d23e8b40d414ad5f6798 100755 (executable)
@@ -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