aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike Naberezny2014-05-20 09:16:03 -0700
committerAdam Vandenberg2014-05-20 09:55:23 -0700
commit483a685a4e7c77b9dd8c67102992fc66025375e5 (patch)
treed3b6f88fe2b3623d631bb7055095afdf05e9fc5e /Library/Formula
parentcbe121ae7698fb9489c1ac9c6a6b58cce6769dce (diff)
downloadhomebrew-483a685a4e7c77b9dd8c67102992fc66025375e5.tar.bz2
cweb: use full path of executable
Closes #29429. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cweb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/cweb.rb b/Library/Formula/cweb.rb
index 3ef17673e..4eb2a31b4 100644
--- a/Library/Formula/cweb.rb
+++ b/Library/Formula/cweb.rb
@@ -43,7 +43,7 @@ class Cweb < Formula
printf("Hello world!");
}
EOS
- system "ctangle", "test.w"
+ system bin/"ctangle", "test.w"
system ENV.cc, "test.c", "-o", "hello"
assert_equal "Hello world!", `./hello`
end