mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
look for -pkg.el.in
file in pkg-source directory
in case the `package.el` file is located in a subdirectory of the repository, we should look for the `package-pkg.el.in` file in that subdirectory.
This commit is contained in:
parent
29b2cd21e7
commit
9e60d5e557
1 changed files with 3 additions and 1 deletions
|
@ -773,7 +773,9 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
|
|||
(let ((default-directory pkg-cwd))
|
||||
(or (pb/get-pkg-file-info pkg-file-source)
|
||||
;; some packages (like magit) provide name-pkg.el.in
|
||||
(pb/get-pkg-file-info (concat pkg-file ".in"))
|
||||
(pb/get-pkg-file-info
|
||||
(expand-file-name (concat pkg-file ".in")
|
||||
(file-name-directory pkg-source)))
|
||||
(pb/get-package-info pkg-source)))
|
||||
file-name
|
||||
version
|
||||
|
|
Loading…
Reference in a new issue