From 2e734f40253a6132e5ed9ce5614f244a05870373 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 21 Mar 2024 16:36:35 +0900 Subject: [PATCH] Fix third_party_build/wasm_make_raylib.sh First clone of raylib was not checking out the git tag. --- third_party_build/wasm_make_raylib.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/third_party_build/wasm_make_raylib.sh b/third_party_build/wasm_make_raylib.sh index 447d6b8..b697110 100755 --- a/third_party_build/wasm_make_raylib.sh +++ b/third_party_build/wasm_make_raylib.sh @@ -62,7 +62,9 @@ if ! [[ -d "$CLONE_DIR" ]] || ! [[ -d "$CLONE_DIR/.git" ]]; then echo "ERROR: Failed to clone Raylib into \"$CLONE_DIR\"!" exit 4 fi -elif ! (cd "$CLONE_DIR" && git fetch --all -p && git checkout "$RAYLIB_GIT_TAG"); then +fi + +if ! (cd "$CLONE_DIR" && git fetch --all -p && git checkout "$RAYLIB_GIT_TAG"); then echo "ERROR: Failed to fetch/checkout in Raylib dir!" exit 5 fi