From f7730a4d61fd38adfefab1ae63c1eb2870748e3a Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 12 Dec 2023 16:36:19 +0900 Subject: [PATCH] Minor fix to third_party_build/wasm_make_raylib.sh --- third_party_build/wasm_make_raylib.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/third_party_build/wasm_make_raylib.sh b/third_party_build/wasm_make_raylib.sh index c693442..1173e87 100755 --- a/third_party_build/wasm_make_raylib.sh +++ b/third_party_build/wasm_make_raylib.sh @@ -40,6 +40,10 @@ popd >&/dev/null #echo "Using output dir: $OUTPUT_DIR" +if ! [[ -d "$CLONE_DIR" ]]; then + mkdir -p "$CLONE_DIR" +fi + pushd "$CLONE_DIR" >&/dev/null CLONE_DIR="$(pwd)" popd >&/dev/null