From d8b4f95476216bd9e50d98c8e3ada629a6ac32f1 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 22 Sep 2016 11:04:43 +0200 Subject: [PATCH] sam: use $% instead of $f for filename to be consistent with acme --- sys/src/cmd/sam/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/sam/shell.c b/sys/src/cmd/sam/shell.c index 7c3a0b25c..494bbf4a3 100644 --- a/sys/src/cmd/sam/shell.c +++ b/sys/src/cmd/sam/shell.c @@ -93,7 +93,7 @@ plan9(File *f, int type, String *s, int nest) close(0); /* so it won't read from terminal */ open("/dev/null", 0); } - putenv("f", Strtoc(&f->name)); + putenv("%", Strtoc(&f->name)); execl(SHPATH, SH, "-c", Strtoc(&plan9cmd), nil); exits("exec"); }