diff options
| author | Jack Nagel | 2012-05-06 01:02:49 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-05-06 01:07:42 -0500 |
| commit | b4822c28580937f7cd9ccadee447dfcdca22dcb8 (patch) | |
| tree | 13e91dee703a8b50a8bfdd5147b40acfa4683fbe | |
| parent | 4e8bdc1938403ff2b53031e073f1b976b7f440e0 (diff) | |
| download | homebrew-b4822c28580937f7cd9ccadee447dfcdca22dcb8.tar.bz2 | |
audiofile: use full paths in test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/audiofile.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/audiofile.rb b/Library/Formula/audiofile.rb index 4a22229c3..22fd3fb8c 100644 --- a/Library/Formula/audiofile.rb +++ b/Library/Formula/audiofile.rb @@ -27,8 +27,8 @@ class Audiofile < Formula inn = '/System/Library/Sounds/Glass.aiff' out = 'Glass.wav' hear_bin = '/usr/bin/qlmanage' - conv_bin = "#{HOMEBREW_PREFIX}/bin/sfconvert" - info_bin = "#{HOMEBREW_PREFIX}/bin/sfinfo" + conv_bin = "#{bin}/sfconvert" + info_bin = "#{bin}/sfinfo" unless File.exist?(conv_bin) and File.exist?(inn) and File.exist?(hear_bin) and File.exist?(info_bin) |
