unpack: don't call realpath on potentially non-existent directory
This commit is contained in:
parent
b0073ccdf0
commit
69058bd67f
@ -70,7 +70,7 @@ module Homebrew extend self
|
||||
if (dir = ARGV.value('destdir')).nil?
|
||||
unpack_dir = Pathname.pwd
|
||||
else
|
||||
unpack_dir = Pathname.new(dir).realpath
|
||||
unpack_dir = Pathname.new(dir)
|
||||
unpack_dir.mkpath unless unpack_dir.exist?
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user