summaryrefslogtreecommitdiff
path: root/devel/eiffelstudio/files/eiffelstudio.in
blob: 76d29312483dd7096f9011405a84be7f072a710d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

export ISE_EIFFEL="%%DATADIR%%"
export ISE_PLATFORM="%%EIFFEL_HOST%%"

if [ -z "$PATH" ]
then
	export PATH="$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin"
else
	export PATH="$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin"
fi

if [ -z "$LD_LIBRARY_PATH" ]
then
	export LD_LIBRARY_PATH="$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib"
else
	export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib"
fi

exec estudio "$@"