aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-05-08 01:10:28 -0500
committerJack Nagel2012-05-08 01:15:12 -0500
commitff31097cd3943e4dffd5d793d5568cbad33d7894 (patch)
tree53f0f634bbd90c3f8a74db80338e80ad0dbee85d /Library/Formula
parenta82d5d9e64a042ce1672021fa2ca663a08718ad4 (diff)
downloadhomebrew-ff31097cd3943e4dffd5d793d5568cbad33d7894.tar.bz2
libraw: use buildpath instead of Pathname.getwd
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libraw.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/libraw.rb b/Library/Formula/libraw.rb
index 622757e2c..5c1ce9bf6 100644
--- a/Library/Formula/libraw.rb
+++ b/Library/Formula/libraw.rb
@@ -24,7 +24,7 @@ class Libraw < Formula
depends_on 'little-cms2'
def install
- d = Pathname.getwd.dirname
+ d = buildpath.dirname
LibrawDemosaicGPL2.new.brew { d.install Dir['*'] }
LibrawDemosaicGPL3.new.brew { d.install Dir['*'] }