aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-05-05 17:14:41 -0500
committerJack Nagel2012-05-05 17:14:41 -0500
commit2b26fa37b6559a965546375d439c50c3eef004a6 (patch)
treeee5bc5c353b400c22096832b7dbf37967a309c8c /Library/Formula
parent4cd673eae0473e99133c086f94a8ca5768fd5e1d (diff)
downloadhomebrew-2b26fa37b6559a965546375d439c50c3eef004a6.tar.bz2
libraw: use full path in test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libraw.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/libraw.rb b/Library/Formula/libraw.rb
index 2fe28da19..eaa1636d3 100644
--- a/Library/Formula/libraw.rb
+++ b/Library/Formula/libraw.rb
@@ -38,8 +38,8 @@ class Libraw < Formula
netraw = "http://www.rawsamples.ch/raws/nikon/d1/RAW_NIKON_D1.NEF"
localraw = "#{HOMEBREW_CACHE}/Formula/RAW_NIKON_D1.NEF"
if File.exists? localraw
- system "#{HOMEBREW_PREFIX}/bin/raw-identify -u #{localraw}"
- system "#{HOMEBREW_PREFIX}/bin/simple_dcraw -v -T #{localraw}"
+ system "#{bin}/raw-identify -u #{localraw}"
+ system "#{bin}/simple_dcraw -v -T #{localraw}"
system "/usr/bin/qlmanage -p #{localraw}.tiff >& /dev/null &"
else
puts ""