ref: d8b4f95476216bd9e50d98c8e3ada629a6ac32f1
parent: 52cacba37c6f3a125ef931afa4b9c2cdb7438fef
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Sep 22 07:04:43 EDT 2016
sam: use $% instead of $f for filename to be consistent with acme
--- a/sys/src/cmd/sam/shell.c
+++ b/sys/src/cmd/sam/shell.c
@@ -93,7 +93,7 @@
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");
}