summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-09-01 22:36:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-09-01 22:36:01 +0000
commit12fe5b44ff930988d75ce4ef423e328475b491b5 (patch)
tree587af42b8c29c4cacc219d71208aa560dea34d6a /hints
parent631c0b04b5c609df9637f229c202807e3a6dac42 (diff)
downloadperl-12fe5b44ff930988d75ce4ef423e328475b491b5.tar.gz
Only the first line, thank you very much.
p4raw-id: //depot/perl@7000
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 22a0324ebf..8fe516a85e 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='' ;;