mirror of https://github.com/axmolengine/axmol.git
environment path variable can include blank space (#17919)
This commit is contained in:
parent
5c9ac37f50
commit
44d49d7fab
2
setup.py
2
setup.py
|
@ -188,7 +188,7 @@ class SetEnvVar(object):
|
|||
|
||||
file = open(self.file_used_for_setup, 'a')
|
||||
file.write('\n# Add environment variable %s for cocos2d-x\n' % key)
|
||||
file.write('export %s=%s\n' % (key, value))
|
||||
file.write('export %s="%s"\n' % (key, value))
|
||||
file.write('export PATH=$%s:$PATH\n' % key)
|
||||
if key == ANDROID_SDK_ROOT:
|
||||
file.write(
|
||||
|
|
Loading…
Reference in New Issue