diff options
| author | Jack Nagel | 2013-08-14 22:13:55 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-14 22:13:55 -0500 |
| commit | d9fae550a5e7c23383a4a4f3da1394a25507edc0 (patch) | |
| tree | f42b0e6b0840149e76c68819ffad855a14aa124a /Library | |
| parent | fe92c0468a0ecfa96fd3cef313747a248db163f9 (diff) | |
| download | homebrew-d9fae550a5e7c23383a4a4f3da1394a25507edc0.tar.bz2 | |
unpack: don't call realpath on potentially non-existent directory
Diffstat (limited to 'Library')
| -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 |
