mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
mktemp: avoid directories with @
This commit is contained in:
parent
bcbf5857da
commit
b6447120ae
@ -40,7 +40,7 @@ class Mktemp
|
||||
end
|
||||
|
||||
def run
|
||||
@tmpdir = Pathname.new(Dir.mktmpdir("#{@prefix}-", HOMEBREW_TEMP))
|
||||
@tmpdir = Pathname.new(Dir.mktmpdir("#{@prefix.tr "@", "-"}-", HOMEBREW_TEMP))
|
||||
|
||||
# Make sure files inside the temporary directory have the same group as the
|
||||
# brew instance.
|
||||
|
Loading…
x
Reference in New Issue
Block a user