diff options
author | chriseth <chris@ethereum.org> | 2018-02-08 21:59:17 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-02-08 22:26:23 +0800 |
commit | 7dd99a62c56e50b3deeccd77588c3a65fe6f7107 (patch) | |
tree | 126f417a873dfdf23f2bf24c9e2e1d0206163582 /scripts | |
parent | c9a032a1e2600f732869a938d8cd349775f686e3 (diff) | |
download | dexon-solidity-7dd99a62c56e50b3deeccd77588c3a65fe6f7107.tar.gz dexon-solidity-7dd99a62c56e50b3deeccd77588c3a65fe6f7107.tar.zst dexon-solidity-7dd99a62c56e50b3deeccd77588c3a65fe6f7107.zip |
Try something else.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis-emscripten/build_emscripten.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/travis-emscripten/build_emscripten.sh b/scripts/travis-emscripten/build_emscripten.sh index 9520a7e8..fd643429 100755 --- a/scripts/travis-emscripten/build_emscripten.sh +++ b/scripts/travis-emscripten/build_emscripten.sh @@ -43,7 +43,12 @@ fi WORKSPACE=/root/project # Increase nodejs stack size -sed -i -e 's/NODE_JS="nodejs"/NODE_JS=["nodejs", "--stack_size=8192"]/' /root/.emscripten +if [ -e ~/.emscripten ] +then + sed -i -e 's/NODE_JS="nodejs"/NODE_JS=["nodejs", "--stack_size=8192"]/' ~/.emscripten +else + echo 'NODE_JS=["nodejs", "--stack_size=8192"]' > ~/.emscripten +fi # Boost |