Skip to content

Commit 7768942

Browse files
author
tudor
committed
check return value instead of output
1 parent e02a059 commit 7768942

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pglite/cibuild.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ export WASI=${WASI:-false}
2828
# exit on error
2929
EOE=false
3030

31-
output=$(./cibuild/sdk.sh)
32-
echo "sdk.sh output: $output"
31+
./cibuild/sdk.sh
3332

34-
if [ "$output" ]; then
33+
if [ $? -eq 0 ]; then
3534
echo "sdk check passed (emscripten)"
3635
else
3736
echo "sdk failed"

0 commit comments

Comments
 (0)