aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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 ""