1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00
This commit is contained in:
Frank Denis 2017-08-03 22:45:18 +02:00
parent 544ce64000
commit 19f76d7cb3

View File

@ -95,7 +95,9 @@ if [ "x$BROWSER_TESTS" != "x" ]; then
rm -f browser-wasm/tests.txt && \ rm -f browser-wasm/tests.txt && \
for file in *.js; do for file in *.js; do
tname=$(echo "$file" | sed 's/.js$//') tname=$(echo "$file" | sed 's/.js$//')
echo "$tname" | egrep -q '[.]asm$' && continue if echo "$tname" | egrep -q '[.]asm$'; then
continue
fi
echo "[${tname}]" echo "[${tname}]"
fgrep -v "#! /usr/bin/env ${NODE}" "$file" > "browser-wasm/${file}" fgrep -v "#! /usr/bin/env ${NODE}" "$file" > "browser-wasm/${file}"
cp -f "${tname}.exp" "browser-wasm/${tname}.exp" 2> /dev/null cp -f "${tname}.exp" "browser-wasm/${tname}.exp" 2> /dev/null