Commit 1f2c4f81 authored by Kelly Dean's avatar Kelly Dean Committed by Artur Malabarba
Browse files

emacs-lisp/package-x.el: Create valid tar files

* emacs-lisp/package-x.el (package-upload-buffer-internal):
Create valid tar files. (Bug#19536)
parent 1e00ee24
2015-02-16 Kelly Dean <kelly@prtime.org>
* emacs-lisp/package-x.el (package-upload-buffer-internal):
Create valid tar files. (Bug#19536)
2015-02-16 Kelly Dean <kelly@prtime.org>
 
* desktop.el (desktop-read): Conditionally re-enable desktop autosave.
......
......@@ -247,7 +247,7 @@ if it exists."
(concat (symbol-name pkg-name) "-readme.txt")
package-archive-upload-base)))
(set-buffer pkg-buffer)
(set-buffer (if (eq file-type 'tar) tar-data-buffer pkg-buffer))
(write-region (point-min) (point-max)
(expand-file-name
(format "%s-%s.%s" pkg-name pkg-version extension)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment