summaryrefslogtreecommitdiff
path: root/community/9base/9
blob: de6a2d070eac319e53a31c83fcd9fd57d7ba3358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

PLAN9=${PLAN9:-/opt/plan9}
export PLAN9

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

if [ $# -gt 0 ]; then
    exec "$@"
fi