aboutsummaryrefslogtreecommitdiff
path: root/bin/9.rc
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 05:42:53 +0000
committerrsc <devnull@localhost>2005-01-14 05:42:53 +0000
commit3a9ee6351914b85db336d51b0e450f954d37d7a6 (patch)
tree90a5b506cb55c26c6ebd85ee6082956f603d5053 /bin/9.rc
parent67075c3634c316ce9cc0e6fa88e65ca27503abc4 (diff)
downloadplan9port-3a9ee6351914b85db336d51b0e450f954d37d7a6.tar.gz
plan9port-3a9ee6351914b85db336d51b0e450f954d37d7a6.tar.bz2
plan9port-3a9ee6351914b85db336d51b0e450f954d37d7a6.zip
must let $PLAN9 be overrided in 9 and 9.rc
Diffstat (limited to 'bin/9.rc')
-rwxr-xr-xbin/9.rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/9.rc b/bin/9.rc
index 1fb75d23..354976d3 100755
--- a/bin/9.rc
+++ b/bin/9.rc
@@ -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)