From 779777961833c2b63428e06f0b055a157da01f6d Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 12 Dec 2023 16:39:20 +0900 Subject: [PATCH] Fix to third_party_build/wasm_make_raylib.sh --- third_party_build/wasm_make_raylib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party_build/wasm_make_raylib.sh b/third_party_build/wasm_make_raylib.sh index 1173e87..35d1a78 100755 --- a/third_party_build/wasm_make_raylib.sh +++ b/third_party_build/wasm_make_raylib.sh @@ -57,7 +57,7 @@ fi # Validate and set up Raylib git clone -if ! [[ -d "$CLONE_DIR" ]]; then +if ! [[ -d "$CLONE_DIR" ]] || ! [[ -d "$CLONE_DIR/.git" ]]; then if ! git clone --depth 1 --no-single-branch "$RAYLIB_GIT_URL" "$CLONE_DIR"; then echo "ERROR: Failed to clone Raylib into \"$CLONE_DIR\"!" exit 4