mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
mk: pass environment to P command
R=rsc http://codereview.appspot.com/4977041
This commit is contained in:
parent
13666ca73e
commit
86ce4cedbf
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ pcmp(char *prog, char *p, char *q, Shell *sh, Word *shcmd)
|
|||
|
||||
Bflush(&bout);
|
||||
snprint(buf, sizeof buf, "%s '%s' '%s'\n", prog, p, q);
|
||||
pid = pipecmd(buf, 0, 0, sh, shcmd);
|
||||
pid = pipecmd(buf, envy, 0, sh, shcmd);
|
||||
while(waitup(-3, &pid) >= 0)
|
||||
;
|
||||
return(pid? 2:1);
|
||||
|
|
Loading…
Reference in a new issue