emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] elpa-admin f12441a8c5: * elpa-admin.el (elpaa--make-one-tarball):


From: Stefan Monnier
Subject: [elpa] elpa-admin f12441a8c5: * elpa-admin.el (elpaa--make-one-tarball): Fix thinko
Date: Tue, 22 Nov 2022 17:24:16 -0500 (EST)

branch: elpa-admin
commit f12441a8c5520cd734cb253f3f4213abf2738dc1
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * elpa-admin.el (elpaa--make-one-tarball): Fix thinko
    
    The version is not in the first but in the second element of the metadata.
---
 elpa-admin.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index a33168dfa1..23a2426cc4 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -710,7 +710,9 @@ You can consult the latest error output in the file
 \"%s-build-failure.log\" in the corresponding ELPA archive web site.
 
 This current error output was the following:\n\n%s"
-                      (or (car-safe metadata-or-version) metadata-or-version)
+                      (if (consp metadata-or-version)
+                          (nth 1 metadata-or-version)
+                        metadata-or-version)
                       pkg-name pkg-name msg))))))))))))
 
 



reply via email to

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