aboutsummaryrefslogtreecommitdiff
path: root/bin/u
blob: e1d51867ac51ffea9b999303fbf64fe7b5762118 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

case "$PLAN9" in
'')
	;;
*)
	PATH=`
		echo "$PATH" |
		sed '
			s,'$PLAN9/bin:',,g
			s,':$PLAN9/bin',,g
		'
	`
	PATH="$PATH:$PLAN9/bin"
	export PATH
	;;
esac

case $# in
[1-9]*)
       exec "$@"
       ;;
esac