aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bytecodecompare
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bytecodecompare')
-rwxr-xr-xscripts/bytecodecompare/storebytecode.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bytecodecompare/storebytecode.sh b/scripts/bytecodecompare/storebytecode.sh
index 557e3275..89a669bd 100755
--- a/scripts/bytecodecompare/storebytecode.sh
+++ b/scripts/bytecodecompare/storebytecode.sh
@@ -40,8 +40,9 @@ TMPDIR=$(mktemp -d)
if [[ "$SOLC_EMSCRIPTEN" = "On" ]]
then
+ # npm install solc
+ git clone --depth 1 https://github.com/ethereum/solc-js.git solc
cp "$REPO_ROOT/build/libsolc/soljson.js" .
- npm install solc
cat > solc <<EOF
#!/usr/bin/env node
var process = require('process')