mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
set $PLAN9 if necessary
This commit is contained in:
parent
0b14ce0e11
commit
e3ffbf3b84
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ main(int argc, char *argv[])
|
|||
code bootstrap[32];
|
||||
char num[12], *rcmain;
|
||||
int i;
|
||||
|
||||
/* needed for rcmain later */
|
||||
setenv("PLAN9", unsharp("#9"), 1);
|
||||
|
||||
argc=getflags(argc, argv, "srdiIlxepvVc:1m:1[command]", 1);
|
||||
if(argc==-1) usage("[file [arg ...]]");
|
||||
|
|
Loading…
Reference in a new issue