From 2b26fa37b6559a965546375d439c50c3eef004a6 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 5 May 2012 17:14:41 -0500 Subject: libraw: use full path in test Signed-off-by: Jack Nagel --- Library/Formula/libraw.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 "" -- cgit v1.2.3