cask/artifact/installer: reset UID when running scripts
This commit is contained in:
parent
19617cb161
commit
ec41f66ee7
@ -35,9 +35,10 @@ module Cask
|
|||||||
command.run!(
|
command.run!(
|
||||||
executable_path,
|
executable_path,
|
||||||
**args,
|
**args,
|
||||||
env: { "PATH" => PATH.new(
|
env: { "PATH" => PATH.new(
|
||||||
HOMEBREW_PREFIX/"bin", HOMEBREW_PREFIX/"sbin", ENV.fetch("PATH")
|
HOMEBREW_PREFIX/"bin", HOMEBREW_PREFIX/"sbin", ENV.fetch("PATH")
|
||||||
) },
|
) },
|
||||||
|
reset_uid: true,
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user