mirror of
https://github.com/correl/melpa.git
synced 2024-11-28 11:09:55 +00:00
Add case-insensitive compare for package name.
This makes it so single-file packages will be compared with the recipe name in a case-insensitive way. Closes #1106
This commit is contained in:
parent
92e5037056
commit
8bc9315d36
1 changed files with 2 additions and 2 deletions
|
@ -817,8 +817,8 @@ and a cl struct in Emacs HEAD. This wrapper normalises the results."
|
|||
file-name
|
||||
version
|
||||
cfg)))
|
||||
(unless (string-equal (concat file-name ".el")
|
||||
(file-name-nondirectory pkg-source))
|
||||
(unless (string-equal (downcase (concat file-name ".el"))
|
||||
(downcase (file-name-nondirectory pkg-source)))
|
||||
(error "Single file %s does not match package name %s"
|
||||
(file-name-nondirectory pkg-source) file-name))
|
||||
(when (file-exists-p pkg-target)
|
||||
|
|
Loading…
Reference in a new issue