]> git.eshelyaron.com Git - emacs.git/commitdiff
* build-aux/update-subdirs: Don't leave subdirs.el~ behind.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Apr 2013 05:01:33 +0000 (22:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Apr 2013 05:01:33 +0000 (22:01 -0700)
It messes up 'make distclean', and contains no useful information
because it's a copy of subdirs.el.

ChangeLog
build-aux/update-subdirs

index dc6c0bfc3ec5450a5727342909a7e5c342db3bc0..ad354100bc7e36d564c1d2d8405cd382141e829a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * build-aux/update-subdirs: Don't leave subdirs.el~ behind.
+       It messes up 'make distclean', and contains no useful information
+       because it's a copy of subdirs.el.
+
 2013-04-18  John Marino  <gnugcc@marino.st>  (tiny change)
 
        * configure.ac: Add DragonFly BSD, mostly same as FreeBSD.  (Bug#14068)
index 8fdf1609e6fe075fc1d7e720ef2fc17d5a3a2212..3c429b8b5e431b43cc6406e2b1f09b05768c2bc7 100755 (executable)
@@ -49,8 +49,8 @@ else
 ;; no-byte-compile: t
 ;; End:" > subdirs.el~
   if cmp "subdirs.el" "subdirs.el~" >/dev/null 2>&1; then
-    :; # echo "subdirs.el unchanged";
+    rm subdirs.el~
   else
-  mv subdirs.el~ subdirs.el
+    mv subdirs.el~ subdirs.el
   fi
 fi