mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
fix el-get-filename-from-url regexp (do not replace '+')
This commit is contained in:
parent
56c6010b6c
commit
0db5b99e03
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user