aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/mk
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2011-08-27 23:06:15 -0400
committerRuss Cox <rsc@swtch.com>2011-08-27 23:06:15 -0400
commit86ce4cedbf92c32ae857b9c193bc50c1c1070866 (patch)
tree5946c24048181f217eac84b933c770ed13ba3871 /src/cmd/mk
parent13666ca73ef0c29e9f4c6870899943578e637730 (diff)
downloadplan9port-86ce4cedbf92c32ae857b9c193bc50c1c1070866.tar.gz
plan9port-86ce4cedbf92c32ae857b9c193bc50c1c1070866.tar.bz2
plan9port-86ce4cedbf92c32ae857b9c193bc50c1c1070866.zip
mk: pass environment to P command
R=rsc http://codereview.appspot.com/4977041
Diffstat (limited to 'src/cmd/mk')
-rw-r--r--src/cmd/mk/mk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/mk/mk.c b/src/cmd/mk/mk.c
index b768d37a..e00814da 100644
--- a/src/cmd/mk/mk.c
+++ b/src/cmd/mk/mk.c
@@ -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);