From 4de03b544c82f36e172d7fc395276c12ecda5b7c Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 11 Jan 2005 19:46:06 +0000 Subject: add $plan9 variable --- src/cmd/plumb/rules.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cmd/plumb/rules.c') diff --git a/src/cmd/plumb/rules.c b/src/cmd/plumb/rules.c index ab27787d..be675329 100644 --- a/src/cmd/plumb/rules.c +++ b/src/cmd/plumb/rules.c @@ -531,6 +531,11 @@ readruleset(void) Ruleset *rs; Rule *r; int eof, inrule, i, ncmd; + char *plan9root; + + plan9root = get9root(); + if(plan9root) + setvariable("plan9", 5, plan9root, plan9root); Again: eof = 0; -- cgit v1.2.3