aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/test_emscripten.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test_emscripten.sh')
-rwxr-xr-xscripts/test_emscripten.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test_emscripten.sh b/scripts/test_emscripten.sh
index aa93ed94..a2dbe61c 100755
--- a/scripts/test_emscripten.sh
+++ b/scripts/test_emscripten.sh
@@ -45,7 +45,7 @@ rm -f soljson.js
cp ../solc/soljson.js soljson.js
# Update version (needed for some tests)
-VERSION=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/../CMakeLists.txt)
+VERSION=$(../../scripts/get_version.sh)
echo "Updating package.json to version $VERSION"
npm version $VERSION