cweb: use full path of executable

Closes Homebrew/homebrew#29429.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Mike Naberezny 2014-05-20 09:16:03 -07:00 committed by Adam Vandenberg
parent da8acb4ea3
commit 7caf1948f3
1 changed files with 1 additions and 1 deletions

View File

@ -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