aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-08-14 22:13:55 -0500
committerJack Nagel2013-08-14 22:13:55 -0500
commitd9fae550a5e7c23383a4a4f3da1394a25507edc0 (patch)
treef42b0e6b0840149e76c68819ffad855a14aa124a /Library
parentfe92c0468a0ecfa96fd3cef313747a248db163f9 (diff)
downloadhomebrew-d9fae550a5e7c23383a4a4f3da1394a25507edc0.tar.bz2
unpack: don't call realpath on potentially non-existent directory
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-unpack.rb2
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