Fix to third_party_build/wasm_make_raylib.sh
This commit is contained in:
parent
f7730a4d61
commit
7797779618
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ fi
|
||||||
|
|
||||||
# Validate and set up Raylib git clone
|
# 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
|
if ! git clone --depth 1 --no-single-branch "$RAYLIB_GIT_URL" "$CLONE_DIR"; then
|
||||||
echo "ERROR: Failed to clone Raylib into \"$CLONE_DIR\"!"
|
echo "ERROR: Failed to clone Raylib into \"$CLONE_DIR\"!"
|
||||||
exit 4
|
exit 4
|
||||||
|
|
Loading…
Reference in a new issue