sam: use $% instead of $f for filename to be consistent with acme
This commit is contained in:
parent
52cacba37c
commit
d8b4f95476
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ plan9(File *f, int type, String *s, int nest)
|
||||||
close(0); /* so it won't read from terminal */
|
close(0); /* so it won't read from terminal */
|
||||||
open("/dev/null", 0);
|
open("/dev/null", 0);
|
||||||
}
|
}
|
||||||
putenv("f", Strtoc(&f->name));
|
putenv("%", Strtoc(&f->name));
|
||||||
execl(SHPATH, SH, "-c", Strtoc(&plan9cmd), nil);
|
execl(SHPATH, SH, "-c", Strtoc(&plan9cmd), nil);
|
||||||
exits("exec");
|
exits("exec");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue