Fix unix env. var addition issue when the variables may have elements with spaces in them.
This commit is contained in:
2
emsdk
2
emsdk
@@ -1138,7 +1138,7 @@ def construct_env_unix(tools_to_activate):
|
||||
if len(env_vars_to_add) > 0:
|
||||
print 'Setting environment variables:'
|
||||
for key, value in env_vars_to_add:
|
||||
env_string += 'export ' + key + '=' + value + '\n'
|
||||
env_string += 'export ' + key + '="' + value + '"\n'
|
||||
print key + ' = ' + value
|
||||
print ''
|
||||
return env_string
|
||||
|
||||
Reference in New Issue
Block a user