summaryrefslogtreecommitdiff
path: root/community/9base/9
diff options
context:
space:
mode:
Diffstat (limited to 'community/9base/9')
-rwxr-xr-xcommunity/9base/913
1 files changed, 13 insertions, 0 deletions
diff --git a/community/9base/9 b/community/9base/9
new file mode 100755
index 000000000..de6a2d070
--- /dev/null
+++ b/community/9base/9
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+PLAN9=${PLAN9:-/opt/plan9}
+export PLAN9
+
+case "$PATH" in
+ $PLAN9/bin:*) ;;
+ *) export PATH=$PLAN9/bin:$PATH ;;
+esac
+
+if [ $# -gt 0 ]; then
+ exec "$@"
+fi