From 2589c5c6ee1f582810a037a934280b29fe8c5e55 Mon Sep 17 00:00:00 2001 From: Marius Eriksen Date: Sun, 25 Nov 2012 22:56:08 -0500 Subject: acme: set $samfile (same as $%) during execution R=rsc CC=plan9port.codebot http://codereview.appspot.com/6854092 --- src/cmd/acme/exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cmd/acme/exec.c') 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); -- cgit v1.2.3