sam: use $% instead of $f for filename to be consistent with acme

This commit is contained in:
cinap_lenrek 2016-09-22 11:04:43 +02:00
parent 52cacba37c
commit d8b4f95476

View file

@ -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");
}