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