Ooops, I guess even the most innocent-seeming change can have unintended consequences. Switching to embedded by default will at least make this path more tested in the future. Fixed #497
This commit is contained in:
5
emsdk.py
5
emsdk.py
@@ -1738,8 +1738,9 @@ class Tool(object):
|
|||||||
debug_print(str(self) + ' is not active, because key="' + key + '" does not exist in .emscripten')
|
debug_print(str(self) + ' is not active, because key="' + key + '" does not exist in .emscripten')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# If running in embedded mode, all paths are stored dynamically relative to the emsdk root, so normalize those first.
|
# If running in embedded mode, all paths are stored dynamically relative
|
||||||
dot_emscripten_key = dot_emscripten[key].replace("' + emsdk_path + '", emsdk_path())
|
# to the emsdk root, so normalize those first.
|
||||||
|
dot_emscripten_key = dot_emscripten[key].replace("emsdk_path + '", "'" + emsdk_path())
|
||||||
if dot_emscripten_key != value:
|
if dot_emscripten_key != value:
|
||||||
debug_print(str(self) + ' is not active, because key="' + key + '" has value "' + dot_emscripten_key + '" but should have value "' + value + '"')
|
debug_print(str(self) + ' is not active, because key="' + key + '" has value "' + dot_emscripten_key + '" but should have value "' + value + '"')
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user