Skip to content

Commit

Permalink
package-build--run-sandboxed: Protect package vcs directories
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Sep 1, 2024
1 parent 3d49d8a commit 4ed6908
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,9 @@ Signal an error if the command did not finish with exit code 0."
(list "--ro-bind" dir dir)))
(append
package-build--sandbox-ro-binds
package-build--sandbox-extra-ro-dirs))
package-build--sandbox-extra-ro-dirs
(list (expand-file-name ".git" default-directory)
(expand-file-name ".hg" default-directory))))
,command ,@args)))))

;;; Worktree
Expand Down

0 comments on commit 4ed6908

Please sign in to comment.