From 70087ad34e224a679eb83e405bf394606ba94c1c Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Tue, 23 Oct 2012 12:58:35 -0400 Subject: 3298 illumos link-editor and related tools should be differentiable Reviewed by: Joshua M. Clulow Reviewed by: Dan McDonald Approved by: Garrett D'Amore --- usr/src/cmd/sgs/libconv/common/bld_vernote.ksh | 11 +++++------ usr/src/tools/scripts/nightly.sh | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'usr/src') diff --git a/usr/src/cmd/sgs/libconv/common/bld_vernote.ksh b/usr/src/cmd/sgs/libconv/common/bld_vernote.ksh index d8f29a05d6..1ca0564379 100644 --- a/usr/src/cmd/sgs/libconv/common/bld_vernote.ksh +++ b/usr/src/cmd/sgs/libconv/common/bld_vernote.ksh @@ -19,8 +19,7 @@ # # CDDL HEADER END # -# -# ident "%Z%%M% %I% %E% SMI" + # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. @@ -46,7 +45,7 @@ pad_notestring() build_sparcnote() { - notestring="Solaris Link Editors: $release-$revision\0" + notestring="Solaris Link Editors: $release-$revision (illumos)\0" # # The 'adjustment' is for the '\0' # @@ -69,14 +68,14 @@ cat > $notefile < $notefile <> $LOGFILE whence ld | tee -a $build_environ_file >> $LOGFILE LDVER=`ld -V 2>&1` echo $LDVER | tee -a $build_environ_file >> $LOGFILE -LDVER=`echo $LDVER | sed -e "s/.*-1\.//" -e "s/:.*//"` +LDVER=`echo $LDVER | sed -e "s/.*-1\.\([0-9]*\).*/\1/"` if [ `expr $LDVER \< 422` -eq 1 ]; then echo "The link-editor needs to be at version 422 or higher to build" | \ tee -a $build_environ_file >> $LOGFILE -- cgit v1.2.3