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
commit0e76be2736026b86f46a0c1d57d4f1edb538da82 (patch)
treee00b7d69918600006f410f49590c74340514afe4 /Library
parent1ec8e7bc760fa80eab97722f2e524154e29bbb63 (diff)
downloadhomebrew-0e76be2736026b86f46a0c1d57d4f1edb538da82.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)