From be00e3a59a48749de34a99f30ea45ef4432d9f93 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Fri, 10 Dec 2010 19:35:19 +0300 Subject: [PATCH] use compilers variable, print also which compiler is working --- generic.fns | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generic.fns b/generic.fns index a19abdf..9de2b76 100644 --- a/generic.fns +++ b/generic.fns @@ -12,8 +12,9 @@ if [ "x$compilers" = "x" ]; then compilers="gcc cc icc" fi -for compiler in gcc cc icc; do +for compiler in $compilers; do + echo "working with compiler $compiler" # arrgh, "which" gives no err code on solaris path=`which $compiler` if [ -x "$path" ]; then -- 2.34.1