Specify the OS default temp directory as the temp dir for the sdk.
This commit is contained in:
4
emsdk
4
emsdk
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys, optparse, subprocess, urllib2, os, os.path, errno, zipfile, string, json, platform, shutil, tarfile, urlparse
|
||||
import sys, optparse, subprocess, urllib2, os, os.path, errno, zipfile, string, json, platform, shutil, tarfile, urlparse, tempfile
|
||||
|
||||
# EMSDK_DEV is a developer mode flag, which, if true, the SDK is downloaded from a 'staging' online source,
|
||||
# instead of the public source. New releases are first deployed to the staging source for testing, before
|
||||
@@ -326,7 +326,7 @@ JS_ENGINES = [NODE_JS]
|
||||
|
||||
cfg += '''SPIDERMONKEY_ENGINE = ''
|
||||
V8_ENGINE = ''
|
||||
TEMP_DIR = ''' + "'" + sdk_path(temp_dir) + "'" + '''
|
||||
TEMP_DIR = ''' + "'" + tempfile.gettempdir().replace('\\', '/') + "'" + '''
|
||||
COMPILER_ENGINE = NODE_JS
|
||||
JS_ENGINES = [NODE_JS]
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user