]> git.seodisparate.com - jumpartifact.com_demo_0/commitdiff
Fix to third_party_build/wasm_make_raylib.sh
authorStephen Seo <seo.disparate@gmail.com>
Tue, 12 Dec 2023 07:39:20 +0000 (16:39 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 12 Dec 2023 07:39:20 +0000 (16:39 +0900)
third_party_build/wasm_make_raylib.sh

index 1173e879b10784963de6b69c28cc6a07fa3f5799..35d1a7855fe4b3759e946e5ccbf27114b79faa7f 100755 (executable)
@@ -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