From eea115bf42aae5242d00fcff6a2d1e91aa9e8f55 Mon Sep 17 00:00:00 2001 From: Eloston Date: Tue, 18 Sep 2018 05:18:51 +0000 Subject: [PATCH] packaging/linux_simple: Fix downloads cache already existing The build script is still not designed to be invoked more than once. But at least if the downloading fails, it can be restarted/resumed by re-running the build script. --- packaging/linux_simple/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/linux_simple/build.sh b/packaging/linux_simple/build.sh index a1e9a2f6..44289815 100755 --- a/packaging/linux_simple/build.sh +++ b/packaging/linux_simple/build.sh @@ -14,7 +14,7 @@ mkdir out mkdir out/Default pushd $(dirname $(readlink -f $0)) -mkdir $DOWNLOAD_CACHE +mkdir $DOWNLOAD_CACHE || true python3 -m buildkit downloads retrieve -b config_bundles/$BUNDLE -c $DOWNLOAD_CACHE python3 -m buildkit downloads unpack -b config_bundles/$BUNDLE -c $DOWNLOAD_CACHE ../ python3 -m buildkit prune -b config_bundles/$BUNDLE ../