aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-11-04 13:53:03 -0700
committerAdam Vandenberg2010-11-04 13:53:03 -0700
commit202663eb0ca71182069b23f11c7d0bad16c98f05 (patch)
treed692a1d8aadff7853e43f1620361588801b577ae /Library
parent0ecbabad63fa72e17c12e137f7ae925bec83e263 (diff)
downloadbrew-202663eb0ca71182069b23f11c7d0bad16c98f05.tar.bz2
Fix installing from local abs. paths.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index c85a5ad51..01cc8c2f2 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -318,6 +318,7 @@ class Formula
require name
name = path.stem
install_type = :from_path
+ target_file = path.to_s
else
# For names, map to the path and then require
require self.path(name)