diff options
author | rsc <devnull@localhost> | 2005-01-14 05:42:53 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-14 05:42:53 +0000 |
commit | 3a9ee6351914b85db336d51b0e450f954d37d7a6 (patch) | |
tree | 90a5b506cb55c26c6ebd85ee6082956f603d5053 /bin/9 | |
parent | 67075c3634c316ce9cc0e6fa88e65ca27503abc4 (diff) | |
download | plan9port-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')
-rwxr-xr-x | bin/9 | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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]*) |