diff options
author | Marius Eriksen <marius.eriksen@gmail.com> | 2012-11-25 22:56:08 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-11-25 22:56:08 -0500 |
commit | 2589c5c6ee1f582810a037a934280b29fe8c5e55 (patch) | |
tree | 4ac03483bd37c80debb63a204568cc7aa63fe90b /src/cmd/acme | |
parent | e19fde358468d55bc60664691978ae86c7641015 (diff) | |
download | plan9port-2589c5c6ee1f582810a037a934280b29fe8c5e55.tar.gz plan9port-2589c5c6ee1f582810a037a934280b29fe8c5e55.tar.bz2 plan9port-2589c5c6ee1f582810a037a934280b29fe8c5e55.zip |
acme: set $samfile (same as $%) during execution
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6854092
Diffstat (limited to 'src/cmd/acme')
-rw-r--r-- | src/cmd/acme/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/acme/exec.c b/src/cmd/acme/exec.c index 39d05eca..ae6668c6 100644 --- a/src/cmd/acme/exec.c +++ b/src/cmd/acme/exec.c @@ -1421,6 +1421,7 @@ runproc(void *argvp) if(filename){ putenv("%", filename); + putenv("samfile", filename); free(filename); } c->md = fsysmount(rdir, ndir, incl, nincl); |