X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=mksh-mkshrc_support.patch;h=a653979dc513ce708ed77027d4b00091d4eed5a0;hb=9b0c41bb83bddf69e504efc719bdfff4597e5361;hp=5d95bd93d3017fd38e2ff737c8a4fee579e9e51f;hpb=601c19fc327434dbc55343e94a60a47b0e6081f2;p=packages%2Fmksh.git diff --git a/mksh-mkshrc_support.patch b/mksh-mkshrc_support.patch index 5d95bd9..a653979 100644 --- a/mksh-mkshrc_support.patch +++ b/mksh-mkshrc_support.patch @@ -8,11 +8,11 @@ - DOTILDE); + env_file = substitute(substitute("${ENV}", 0), DOTILDE); if (*env_file != '\0') - include(env_file, 0, NULL, 1); + include(env_file, 0, NULL, true); + else { + env_file = substitute(MKSHRC_PATH, DOTILDE); -+ include("/etc/mkshrc", 0, NULL, 1); -+ include(env_file, 0, NULL, 1); ++ include("/etc/mkshrc", 0, NULL, true); ++ include(env_file, 0, NULL, true); + } }