Put all test argument inside the system call
Closes Homebrew/homebrew#45293. Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
parent
f012ce70d4
commit
b0419f4a7e
1 changed files with 6 additions and 8 deletions
|
@ -40,14 +40,12 @@ class Eet < Formula
|
|||
test do
|
||||
cp "#{pkgshare}/examples/eet-basic.c", testpath
|
||||
eina = Formula["eina"]
|
||||
flags = %W[
|
||||
-I#{include}/eet-1
|
||||
-I#{eina.include}/eina-1
|
||||
-I#{eina.include}/eina-1/eina
|
||||
-L#{lib}
|
||||
-leet
|
||||
]
|
||||
system ENV.cc, "-o", "eet-basic", "eet-basic.c", *flags
|
||||
system ENV.cc, "-o", "eet-basic", "eet-basic.c",
|
||||
"-I#{include}/eet-1",
|
||||
"-I#{eina.include}/eina-1",
|
||||
"-I#{eina.include}/eina-1/eina",
|
||||
"-L#{lib}",
|
||||
"-leet"
|
||||
system "./eet-basic"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue