must let $PLAN9 be overrided in 9 and 9.rc
This commit is contained in:
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]*)
|
||||
|
||||
Reference in New Issue
Block a user