must let $PLAN9 be overrided in 9 and 9.rc
This commit is contained in:
parent
67075c3634
commit
3a9ee63519
3 changed files with 13 additions and 5 deletions
10
bin/9
10
bin/9
|
|
@ -1,7 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
export PLAN9=/usr/local/plan9
|
||||
export PATH=$PLAN9/bin:$PATH
|
||||
export PLAN9=${PLAN9:-/usr/local/plan9}
|
||||
case "$PATH" in
|
||||
$PLAN9/bin:*)
|
||||
;;
|
||||
*)
|
||||
export PATH=$PLAN9/bin:$PATH
|
||||
;;
|
||||
esac
|
||||
|
||||
case $# in
|
||||
[1-9]*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue