aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam')
-rw-r--r--src/cmd/sam/shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/sam/shell.c b/src/cmd/sam/shell.c
index 32e1b3d2..c6efdd57 100644
--- a/src/cmd/sam/shell.c
+++ b/src/cmd/sam/shell.c
@@ -17,6 +17,7 @@ setname(File *f)
else
buf[0] = 0;
putenv("samfile", buf);
+ putenv("%", buf); // like acme
}
int