mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
e9f50ca103
Change sense of test at end of 9.rc so that when invoked with no arguments the test still evaluates true, so that it works well with rc -e.
8 lines
140 B
Bash
Executable file
8 lines
140 B
Bash
Executable file
#!/usr/local/plan9/bin/rc
|
|
|
|
if(~ $#PLAN9 0)
|
|
PLAN9=/usr/local/plan9
|
|
if(! ~ $path(1) $PLAN9/bin)
|
|
path=($PLAN9/bin $path)
|
|
|
|
~ $#* 0 || exec $*
|