Clear cache directory at start of build

This commit is contained in:
Charlie O'Keefe 2019-07-01 01:53:30 -06:00
parent ec6ba5f75e
commit 34e7b6519c
1 changed files with 2 additions and 0 deletions

View File

@ -212,6 +212,8 @@ then
echo ""
pushd ${gitian_builder_repo_path}
mkdir -p inputs
rm -rf ${gitian_builder_repo_path}/cache/* # Clear cache directory before each build
make -C ${zcash_repo_dir_path}/depends download SOURCES_PATH=${gitian_builder_repo_path}/cache/common
suite_image_path=${gitian_builder_repo_path}/base-${suite}-amd64