aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-04-11 10:39:31 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-04-11 10:42:18 +0300
commit69c67542e76bcbc37563399eb3ab8716c6a37774 (patch)
tree39c5891a02caacb4b7bcd0a4a5b0ba099d1b86ba /emscripten.py
parent5351b86b0768813c4c18bb61494c43b07bc00372 (diff)
Remove the unwanted abstraction that callee is allowed to autodelete a response file after consuming it. Instead, manually track and delete response files by the caller and clean them up.
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/emscripten.py b/emscripten.py
index 02e28623..bd6994fa 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -12,7 +12,7 @@ headers, for the libc implementation in JS).
import os, sys, json, optparse, subprocess, re, time, multiprocessing, functools
from tools import jsrun, cache as cache_module, tempfiles
-from tools.response_file import read_and_delete_response_file
+from tools.response_file import read_response_file
__rootpath__ = os.path.abspath(os.path.dirname(__file__))
def path_from_root(*pathelems):
@@ -637,7 +637,7 @@ def _main(environ):
if sys.argv[index][0] == '@':
# found one, loop again next time
response_file = True
- response_file_args = read_and_delete_response_file(sys.argv[index])
+ response_file_args = read_response_file(sys.argv[index])
# slice in extra_args in place of the response file arg
sys.argv[index:index+1] = response_file_args
break