git: 9front

Download patch

ref: d8343e7f1542d7164b6c92c5dbecd6e4618b0b55
parent: a698c0160cabe63e6a13866fc76146b92658f03e
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");
 	}
--