aboutsummaryrefslogtreecommitdiff
path: root/bin/9
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 18:21:12 +0000
committerrsc <devnull@localhost>2005-01-14 18:21:12 +0000
commit0dc9950215f761f20a7c45e20ac14ce5e0a4ae10 (patch)
tree1b9976f546e4624416d56835bb33b7f8d7da33b1 /bin/9
parent2b3b1e8984849541761d0272ba1ad376f5f5a82b (diff)
downloadplan9port-0dc9950215f761f20a7c45e20ac14ce5e0a4ae10.tar.gz
plan9port-0dc9950215f761f20a7c45e20ac14ce5e0a4ae10.tar.bz2
plan9port-0dc9950215f761f20a7c45e20ac14ce5e0a4ae10.zip
stupid sun
Diffstat (limited to 'bin/9')
-rwxr-xr-xbin/97
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/9 b/bin/9
index 33b0d89c..04a942af 100755
--- a/bin/9
+++ b/bin/9
@@ -1,11 +1,14 @@
#!/bin/sh
-export PLAN9=${PLAN9:-/usr/local/plan9}
+PLAN9=${PLAN9:-/usr/local/plan9}
+export PLAN9
+
case "$PATH" in
$PLAN9/bin:*)
;;
*)
- export PATH=$PLAN9/bin:$PATH
+ PATH=$PLAN9/bin:$PATH
+ export PATH
;;
esac