From 00f815645786771034565f054e9664355ac81c02 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 18 Jan 2015 00:52:14 +0100 Subject: [PATCH] Do not hardcode the node binary --- dist-build/emscripten.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 09b83a52..bfc83f6f 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -37,12 +37,11 @@ echo 'Compiling the test suite...' && \ emmake make $MAKE_FLAGS check > /dev/null 2>&1 echo 'Running the test suite.' -echo 'sodium_utils2 and sodium_utils3 are expected to fail in Javascript.' ( cd test/default && \ for file in *.js; do echo "#! /usr/bin/env ${NODE}" > "${file}.tmp" - fgrep -v '#! /usr/bin/env node' "$file" >> "${file}.tmp" + fgrep -v "#! /usr/bin/env {NODE}" "$file" >> "${file}.tmp" chmod +x "${file}.tmp" mv -f "${file}.tmp" "$file" done