diff options
-rw-r--r-- | shell/ash.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 1061e55c2..fedf86002 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -13425,6 +13425,13 @@ init(void) | |||
13425 | } | 13425 | } |
13426 | #endif | 13426 | #endif |
13427 | for (envp = environ; envp && *envp; envp++) { | 13427 | for (envp = environ; envp && *envp; envp++) { |
13428 | #if ENABLE_PLATFORM_MINGW32 | ||
13429 | char *s; | ||
13430 | |||
13431 | while ((s=strchr(*envp, '\\'))) { | ||
13432 | *s = '/'; | ||
13433 | } | ||
13434 | #endif | ||
13428 | if (strchr(*envp, '=')) { | 13435 | if (strchr(*envp, '=')) { |
13429 | setvareq(*envp, VEXPORT|VTEXTFIXED); | 13436 | setvareq(*envp, VEXPORT|VTEXTFIXED); |
13430 | } | 13437 | } |