fix el-get-filename-from-url regexp (do not replace '+')

This commit is contained in:
Pásztor János 2011-08-25 17:17:58 +02:00
parent 56c6010b6c
commit 0db5b99e03

View File

@ -1901,7 +1901,7 @@ the recipe, then return nil."
"return a suitable filename from given url
Test url: http://repo.or.cz/w/ShellArchive.git?a=blob_plain;hb=HEAD;f=ack.el"
(replace-regexp-in-string "[^a-zA-Z0-9-_\.]" "_"
(replace-regexp-in-string "[^a-zA-Z0-9-_\.\+]" "_"
(file-name-nondirectory url)))
(defun el-get-http-retrieve-callback (status package post-install-fun &optional dest sources)