diff options
| author | Jack Nagel | 2013-08-14 22:13:55 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-14 22:13:55 -0500 |
| commit | 69058bd67fd5477c19c76d30710dca7ef9bed6b0 (patch) | |
| tree | 8657c8281a08d2e85b92c9e1f01b969849e1fc0c /Library/Contributions/cmd | |
| parent | b0073ccdf03e71f2ebef4a1711d6e9eb811747cd (diff) | |
| download | brew-69058bd67fd5477c19c76d30710dca7ef9bed6b0.tar.bz2 | |
unpack: don't call realpath on potentially non-existent directory
Diffstat (limited to 'Library/Contributions/cmd')
| -rwxr-xr-x | Library/Contributions/cmd/brew-unpack.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-unpack.rb b/Library/Contributions/cmd/brew-unpack.rb index 805af8e42..6e81d8196 100755 --- a/Library/Contributions/cmd/brew-unpack.rb +++ b/Library/Contributions/cmd/brew-unpack.rb @@ -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 |
