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

PLAN9=${PLAN9:-/usr/local/plan9}
export PLAN9

case "$PATH" in
$PLAN9/bin:*)
	;;
*)
	PATH=$PLAN9/bin:$PATH
	export PATH
	;;
esac

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