must let $PLAN9 be overrided in 9 and 9.rc

This commit is contained in:
rsc 2005-01-14 05:42:53 +00:00
parent 67075c3634
commit 3a9ee63519
3 changed files with 13 additions and 5 deletions

View file

@ -1,6 +1,7 @@
#!/usr/local/plan9/bin/rc
PLAN9=/usr/local/plan9
if(~ $#PLAN9 0)
PLAN9=/usr/local/plan9
if(! ~ $path(1) $PLAN9/bin)
path=($PLAN9/bin $path)