~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tools/response_file.py

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-09-20 22:44:35 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130920224435-apuwj4fsl3fqv1a6
Tags: 1.5.6~20130920~6010666-1
* New snapshot release
* Update the list of supported architectures to the same as libv8
  (Closes: #723129)
* emlibtool has been removed from upstream.
* Fix warning syntax-error-in-dep5-copyright
* Refresh of the patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  (response_fd, response_filename) = tempfile.mkstemp(prefix='emscripten_', suffix='.rsp', dir=directory, text=True)
7
7
  response_fd = os.fdopen(response_fd, "w")
8
8
  #print >> sys.stderr, "Creating response file '%s'" % response_filename
9
 
  args = map(lambda p: p.replace(' ', '').replace('\\', '\\\\').replace('"', '\\"'), args)
10
 
  response_fd.write(' '.join(args))
 
9
  args = map(lambda p: p.replace('\\', '\\\\').replace('"', '\\"'), args)
 
10
  response_fd.write('"' + '" "'.join(args) + '"')
11
11
  response_fd.close()
12
12
  return response_filename
13
13