summaryrefslogtreecommitdiff
blob: 5bde480ca17cfeaf4dba5bbeaa527cb12326dbae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

E3=/usr/bin/e3
whichE3=${E3}pi

if [ -f ${E3} ]; then
	if [ -f ${whichE3} ]; then
		if [ $# -eq 0 ]; then
			${whichE3}
		else
			for i in $@
			do
				${whichE3} $i
			done
		fi
	else
		echo ${whichE3}: file does not exist
	fi
else
	echo "${E3}: file does not exist"
fi