From b0419f4a7ebfe8f50251518c8d9c84eef5004971 Mon Sep 17 00:00:00 2001 From: Thierry Moisan Date: Mon, 21 Dec 2015 08:20:08 -0500 Subject: [PATCH] Put all test argument inside the system call Closes Homebrew/homebrew#45293. Signed-off-by: Andrew Janke --- Formula/eet.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Formula/eet.rb b/Formula/eet.rb index 541fc17ea8..6c00065755 100644 --- a/Formula/eet.rb +++ b/Formula/eet.rb @@ -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