diff options
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index db943f6c7..59905aa7b 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -13119,7 +13119,8 @@ init(void) | |||
13119 | 13119 | ||
13120 | initvar(); | 13120 | initvar(); |
13121 | for (envp = environ; envp && *envp; envp++) { | 13121 | for (envp = environ; envp && *envp; envp++) { |
13122 | if (strchr(*envp, '=')) { | 13122 | p = endofname(*envp); |
13123 | if (p != *envp && *p == '=') { | ||
13123 | setvareq(*envp, VEXPORT|VTEXTFIXED); | 13124 | setvareq(*envp, VEXPORT|VTEXTFIXED); |
13124 | } | 13125 | } |
13125 | } | 13126 | } |