mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
19 lines
192 B
Bash
Executable file
19 lines
192 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PLAN9=${PLAN9:-/usr/local/plan9}
|
|
export PLAN9
|
|
|
|
case "$PATH" in
|
|
$PLAN9/bin:*)
|
|
;;
|
|
*)
|
|
PATH=$PLAN9/bin:$PATH
|
|
export PATH
|
|
;;
|
|
esac
|
|
|
|
case $# in
|
|
[1-9]*)
|
|
exec "$@"
|
|
;;
|
|
esac
|