mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +00:00
Update package-build.el
Use file-equal-p rather than string-equal to compare paths so that different paths (using symlinks) pointing to the same directory are treated as same paths.
This commit is contained in:
parent
673f920d02
commit
12ad53d429
1 changed files with 1 additions and 1 deletions
|
@ -1028,7 +1028,7 @@ Returns the archive entry for the package."
|
|||
"Build archive for the recipe defined in the current buffer."
|
||||
(interactive)
|
||||
(unless (and (buffer-file-name)
|
||||
(string-equal (file-name-directory (buffer-file-name))
|
||||
(file-equal-p (file-name-directory (buffer-file-name))
|
||||
package-build-recipes-dir))
|
||||
(error "Buffer is not visiting a recipe"))
|
||||
(when (buffer-modified-p)
|
||||
|
|
Loading…
Reference in a new issue