diff --git a/package-build.el b/package-build.el index a03210d7..d2243169 100644 --- a/package-build.el +++ b/package-build.el @@ -954,8 +954,7 @@ Returns the archive entry for the package." (pb/copy-package-files files source-dir pkg-tmp-dir) - (pb/write-pkg-file target-dir - (expand-file-name pkg-file + (pb/write-pkg-file (expand-file-name pkg-file (file-name-as-directory pkg-tmp-dir)) pkg-info)