1 diff -urNp -x '*.orig' mksh-59c.org/main.c mksh-59c/main.c
2 --- mksh-59c.org/main.c 2020-10-01 22:29:21.000000000 +0200
3 +++ mksh-59c/main.c 2021-03-20 19:54:06.508364229 +0100
4 @@ -695,9 +695,14 @@ main_init(int argc, const char *argv[],
6 include(substitute("$HOME/.profile", 0), 0, NULL, true);
8 - cp = substitute("${ENV:-" MKSHRC_PATH "}", DOTILDE);
9 + cp = substitute("${ENV}", DOTILDE);
11 include(cp, 0, NULL, true);
13 + cp = substitute(MKSHRC_PATH, DOTILDE);
14 + include("/etc/mkshrc", 0, NULL, true);
15 + include(cp, 0, NULL, true);
19 if (restricted_shell) {