diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-07-18 17:23:33 -0400 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-08-30 21:28:29 -0400 |
commit | d071fe295ceda099c7be63ccddae960082cea7b5 (patch) | |
tree | 3779ef642cc2940fd975bfa83ec42d2bf7e8c802 /emcc | |
parent | 88a07f99f3b086f00cf0b12711d8342c2e49a12d (diff) |
Revert "Make the compiler output executable scripts if node is being used"
This reverts commit 14c0e3d9474ac344f07065e1f0a78a8bf6555da1.
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -74,7 +74,7 @@ emcc can be influenced by a few environment variables: EMMAKEN_COMPILER - The compiler to be used, if you don't want the default clang. ''' -import os, sys, shutil, tempfile, subprocess, shlex, stat +import os, sys, shutil, tempfile, subprocess, shlex from subprocess import PIPE, STDOUT from tools import shared from tools.shared import Compression, execute, suffix, unsuffixed, unsuffixed_basename @@ -1034,10 +1034,6 @@ try: else: # copy final JS to output shutil.move(final, target) - # Make the target executable if it's a Javascript file - os.chmod(target, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR | - stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP | - stat.S_IROTH | stat.S_IXOTH) finally: if not TEMP_DIR: |