diff options
| author | Mike Naberezny | 2014-05-21 14:34:20 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-21 15:12:37 -0700 |
| commit | 6ca4faf0d03ff6f00fed0c8bc48a01e80d3a0e9f (patch) | |
| tree | df4b4f592d44436889d873ac746acf824218c7ba /Library | |
| parent | bce883337abde1279bc193057ef86b42befb8c58 (diff) | |
| download | homebrew-6ca4faf0d03ff6f00fed0c8bc48a01e80d3a0e9f.tar.bz2 | |
lz4: use full path of executable
Closes #29468.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/lz4.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/lz4.rb b/Library/Formula/lz4.rb index bfeb73640..e1c490b5d 100644 --- a/Library/Formula/lz4.rb +++ b/Library/Formula/lz4.rb @@ -22,7 +22,7 @@ class Lz4 < Formula input_file = testpath/"in" input_file.write input output_file = testpath/"out" - system "sh", "-c", "cat #{input_file} | lz4 | lz4 -d > #{output_file}" - output_file.read == input + system "sh", "-c", "cat #{input_file} | #{bin}/lz4 | #{bin}/lz4 -d > #{output_file}" + assert_equal output_file.read, input end end |
