There was an error while loading. Please reload this page.
1 parent b29e79d commit d30f3beCopy full SHA for d30f3be
1 file changed
scripts/wasm-without-nix/build-wasm-libs.sh
@@ -249,7 +249,7 @@ verify_wasm() {
249
local tmp
250
tmp="$(mktemp -d)"
251
( cd "$tmp" && ar x "$archive" && \
252
- first_obj="$(ls *.o 2>/dev/null | head -1)" && \
+ first_obj="$(find . -maxdepth 1 -name '*.o' -print -quit)" && \
253
[ -n "$first_obj" ] && file "$first_obj" | grep -q WebAssembly )
254
local rc=$?
255
rm -rf "$tmp"
0 commit comments