cweb: use full path of executable
Closes Homebrew/homebrew#29429. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
da8acb4ea3
commit
7caf1948f3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue