summaryrefslogtreecommitdiff
path: root/src/cmd/INIT/cc.linux.i386-64-icc
blob: 4d945bf5c52bbbd48924b427f83f6b5c7615373a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
: linux.i386-64 icc wrapper : 2011-10-18 :

HOSTTYPE=linux.i386-64-icc

case " $* " in
*" -dumpmachine "*) echo $HOSTTYPE; exit ;;
esac

icc=$(which icc 2>/dev/null)
case $icc in
"")	if	test -f /etc/profile.d/icc.sh
	then	. /etc/profile.d/icc.sh
	fi
	icc=$(which icc 2>/dev/null)
	case $icc in
	"")	echo icc: not found >&2
		exit 127
		;;
	esac
	;;
esac
$icc "$@"