This commit is contained in:
Kovid Goyal
2024-09-11 10:01:43 +05:30
parent 31aa4bc96d
commit 7a3edb0367

View File

@@ -39,7 +39,7 @@ class Env(RemoteCommand):
env = default_env().copy()
for k, v in new_env.items():
if k.endswith('='):
env.pop(k, None)
env.pop(k[:-1], None)
else:
env[k] = expandvars(v or '', env)
set_default_env(env)