commit/xemacs-packages: Jerry James: Fix "make bindist" when building with 21.4. See xemacs-beta message

[email protected]
Newsgroups gmane.emacs.xemacs.patches
Message-ID <[email protected]>
1 new commit in xemacs-packages:

https://bitbucket.org/xemacs/xemacs-packages/commits/307b3ea3b0ef/
Changeset:   307b3ea3b0ef
User:        Jerry James
Date:        2014-06-18 17:12:37
Summary:     Fix "make bindist" when building with 21.4.  See xemacs-beta message
<[email protected]> and xemacs-patches message
<CAHCOHQnxscxGCiLnaq-aQuXizLpOWFNZkKSUAQ7UJs3CvaLZ8w@mail.gmail.com>.
Affected #:  2 files

diff -r 9954f5555c86d01eb90ccbb4fa662988241fb58a -r 307b3ea3b0ef6b0754841779b4065ecf9e612689 ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-06-18  Jerry James  <[email protected]>
+
+	* package-net-packages.el
+	(package-net-packages-batch-convert-index-to-ini): consume command
+	line arguments instead of just peeking at them.
+
 2014-06-02  Jerry James  <[email protected]>
 
 	* Local.rules.template: Support texi2any.  Drop support for

diff -r 9954f5555c86d01eb90ccbb4fa662988241fb58a -r 307b3ea3b0ef6b0754841779b4065ecf9e612689 package-net-packages.el
--- a/package-net-packages.el
+++ b/package-net-packages.el
@@ -145,8 +145,8 @@
   "Convert the package index to ini file format."
   (unless noninteractive
     (error "`package-net-packages-batch-convert-index-to-ini' is to be used only with -batch"))
-  (let ((dir (car command-line-args-left))
-	(category (cadr command-line-args-left))
+  (let ((dir (pop command-line-args-left))
+	(category (pop command-line-args-left))
 	(package-get-require-signed-base-updates nil))
     (package-net-packages-convert-index-to-ini dir nil category)))

Repository URL: https://bitbucket.org/xemacs/xemacs-packages/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.