From 9feba759287b946df4d308a4f6a3117c00b01b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jukka=20Jyl=C3=A4nki?= Date: Wed, 19 Nov 2014 17:26:38 +0200 Subject: [PATCH] Fix unix env. var addition issue when the variables may have elements with spaces in them. --- emsdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emsdk b/emsdk index 94b7eb2..1eae0b8 100755 --- a/emsdk +++ b/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