From 770a269a42e93ec211aaaf7e2c192c24bee755b0 Mon Sep 17 00:00:00 2001 From: pastmaster007 <43329756+pastmaster007@users.noreply.github.com> Date: Mon, 17 Sep 2018 00:14:09 -0400 Subject: [PATCH] dont throw error when folder exists this change skips re-download same archive from remote while doing multiple times build.. --- packaging/macos/build.sh.ungoogin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/macos/build.sh.ungoogin b/packaging/macos/build.sh.ungoogin index 26222e91..49b33f8e 100755 --- a/packaging/macos/build.sh.ungoogin +++ b/packaging/macos/build.sh.ungoogin @@ -22,7 +22,7 @@ mkdir out/Default DOWNLOAD_CACHE="$packaging_dir/../../download_cache" pushd ungoogled_packaging -mkdir "$DOWNLOAD_CACHE" +mkdir -p "$DOWNLOAD_CACHE" python3 -m buildkit downloads retrieve -b config_bundles/macos -c "$DOWNLOAD_CACHE" python3 -m buildkit downloads unpack -b config_bundles/macos -c "$DOWNLOAD_CACHE" ../ python3 -m buildkit prune -b config_bundles/macos ../