emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa-admin ac51bc6085: * elpa-admin.el (elpaa--push): Fix dir-syn


From: Stefan Monnier
Subject: [elpa] elpa-admin ac51bc6085: * elpa-admin.el (elpaa--push): Fix dir-syncing when pkg is a symbol
Date: Fri, 25 Nov 2022 10:57:16 -0500 (EST)

branch: elpa-admin
commit ac51bc60859c514642ca957964411f5dbd9c682f
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * elpa-admin.el (elpaa--push): Fix dir-syncing when pkg is a symbol
---
 elpa-admin.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index 6ebc29a719..b5fc63503f 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -2751,7 +2751,7 @@ relative to elpa root."
                             (elpaa--urtb pkg-spec "release")
                             elpaa--release-branch-prefix pkg))))
         (message "Pushed %s successfully:\n%s" pkg (buffer-string))
-        (when (file-directory-p (expand-file-name pkg "packages"))
+        (when (file-directory-p (elpaa--pkg-root pkg))
           (elpaa--worktree-sync pkg-spec)))
        (t
         (message "Push error for %s:\n%s" pkg (buffer-string)))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]