From: Jarkko Hietaniemi Date: Fri, 1 Sep 2000 22:36:01 +0000 (+0000) Subject: Only the first line, thank you very much. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=12fe5b44ff930988d75ce4ef423e328475b491b5;p=p5sagit%2Fp5-mst-13.2.git Only the first line, thank you very much. p4raw-id: //depot/perl@7000 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 22a0324..8fe516a 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -45,7 +45,7 @@ case "$archname" in ;; esac -ccversion="`${cc:-cc} -V 2>&1|sed 's/^cc: //'`" +ccversion="`${cc:-cc} -V 2>&1|head -1|sed 's/^cc: //'`" case "$ccversion" in *WorkShop*) ccname=workshop ;; *) ccversion='' ;;