branch: elpa-admin commit ac51bc60859c514642ca957964411f5dbd9c682f Author: Stefan Monnier <monn...@iro.umontreal.ca> Commit: Stefan Monnier <monn...@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)))))))