emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117442: * admin/update_autogen: Remove need to cd i


From: Glenn Morris
Subject: [Emacs-diffs] trunk r117442: * admin/update_autogen: Remove need to cd into/out of lisp/.
Date: Sun, 29 Jun 2014 01:33:40 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117442
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2014-06-28 18:33:32 -0700
message:
  * admin/update_autogen: Remove need to cd into/out of lisp/.
modified:
  admin/ChangeLog                changelog-20091113204419-o5vbwnq5f7feedwu-2226
  admin/update_autogen           
update_autogen-20110320234513-evoa2jhg3q7dkdg8-8
=== modified file 'admin/ChangeLog'
--- a/admin/ChangeLog   2014-06-29 00:46:40 +0000
+++ b/admin/ChangeLog   2014-06-29 01:33:32 +0000
@@ -1,5 +1,7 @@
 2014-06-29  Glenn Morris  <address@hidden>
 
+       * update_autogen: Remove need to cd into/out of lisp/.
+
        * grammars/Makefile.in (bootstrap-clean): Don't delete Makefile,
        for sake of top-level maintainer-clean rule.
 

=== modified file 'admin/update_autogen'
--- a/admin/update_autogen      2014-03-21 06:39:13 +0000
+++ b/admin/update_autogen      2014-06-29 01:33:32 +0000
@@ -330,7 +330,8 @@
 
 while read genfile; do
 
-    [ -r lisp/$genfile ] || die "Unable to read $genfile"
+    genfile=lisp/$genfile
+    [ -r $genfile ] || die "Unable to read $genfile"
 
     genfiles="$genfiles $genfile"
 done < $tempfile
@@ -369,18 +370,12 @@
     cp $ldefs_in $ldefs_out || die "cp ldefs_boot error"
 
 
-cd lisp
-
 echo "Checking status of loaddef files..."
 
 ## It probably would be fine to just check+commit lisp/, since
 ## making autoloads should not effect any other files.  But better
 ## safe than sorry.
-modified=$(status $genfiles ${ldefs_out#lisp/}) || die
-
-
-## bzr status output is always relative to top-level, not PWD.
-[ "$vcs" = "bzr" ] && cd ../
+modified=$(status $genfiles $ldefs_out) || die
 
 
 commit "loaddefs" $modified || die "commit error"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]