Merge pull request #10162 from fxcoudert/at
mktemp: avoid directories with @
This commit is contained in:
commit
9e0ed470e1
@ -40,7 +40,7 @@ class Mktemp
|
|||||||
end
|
end
|
||||||
|
|
||||||
def run
|
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
|
# Make sure files inside the temporary directory have the same group as the
|
||||||
# brew instance.
|
# brew instance.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user