add $plan9 variable

This commit is contained in:
rsc 2005-01-11 19:46:06 +00:00
parent f6bc914915
commit 4de03b544c
3 changed files with 16 additions and 7 deletions

View file

@ -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;