diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-09-22 11:04:43 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-09-22 11:04:43 +0200 |
commit | d8b4f95476216bd9e50d98c8e3ada629a6ac32f1 (patch) | |
tree | b62fe378a1472f94af078486732b579b2f7b9fb3 /sys/src/cmd/sam | |
parent | 52cacba37c6f3a125ef931afa4b9c2cdb7438fef (diff) |
sam: use $% instead of $f for filename to be consistent with acme
Diffstat (limited to 'sys/src/cmd/sam')
-rw-r--r-- | sys/src/cmd/sam/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |