Fix third_party_build/wasm_make_raylib.sh
First clone of raylib was not checking out the git tag.
This commit is contained in:
parent
48f4e3b3d0
commit
2e734f4025
|
@ -62,7 +62,9 @@ if ! [[ -d "$CLONE_DIR" ]] || ! [[ -d "$CLONE_DIR/.git" ]]; then
|
||||||
echo "ERROR: Failed to clone Raylib into \"$CLONE_DIR\"!"
|
echo "ERROR: Failed to clone Raylib into \"$CLONE_DIR\"!"
|
||||||
exit 4
|
exit 4
|
||||||
fi
|
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!"
|
echo "ERROR: Failed to fetch/checkout in Raylib dir!"
|
||||||
exit 5
|
exit 5
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue