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

HOSTTYPE=linux.ia64-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 "$@"