t9.rc: change to work with rc -e (Tony Lainson) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e9f50ca103acfb10afb6a2c93f261560d01387c0
(DIR) parent 6b0a42ed047c3a9f9719294c64285b131a3d736e
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Wed, 22 Aug 2007 11:24:34 -0400
9.rc: change to work with rc -e (Tony Lainson)
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.
Diffstat:
M bin/9.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/bin/9.rc b/bin/9.rc
t@@ -5,4 +5,4 @@ if(~ $#PLAN9 0)
if(! ~ $path(1) $PLAN9/bin)
path=($PLAN9/bin $path)
-! ~ $#* 0 && exec $*
+~ $#* 0 || exec $*