diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index b3d8feb0b..ab2b0628f 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -10735,6 +10735,10 @@ poplocalvars(int keep) | |||
10735 | free((char*)vp->var_text); | 10735 | free((char*)vp->var_text); |
10736 | vp->flags = lvp->flags; | 10736 | vp->flags = lvp->flags; |
10737 | vp->var_text = lvp->text; | 10737 | vp->var_text = lvp->text; |
10738 | #if ENABLE_PLATFORM_MINGW32 | ||
10739 | if (is_bb_var(lvp->text) == BB_VAR_ASSIGN) | ||
10740 | putenv(lvp->text); | ||
10741 | #endif | ||
10738 | } | 10742 | } |
10739 | free(lvp); | 10743 | free(lvp); |
10740 | } | 10744 | } |