From 1ee8bb2c7a9e4b8ae5676dd8bd383a152ee5f604 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 9 Jul 2015 17:47:43 +0200 Subject: reproducible netbsd: try harder to cleanup properly between builds --- bin/reproducible_netbsd.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin') diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh index 09532eca..c37353f9 100755 --- a/bin/reproducible_netbsd.sh +++ b/bin/reproducible_netbsd.sh @@ -71,6 +71,9 @@ for MACHINE in $MACHINES ; do ./build.sh -j $NUM_CPU -U -u -m ${MACHINE} release # save results in b1 save_netbsd_results b1 ${MACHINE} + # cleanup and explicitly delete old tooldir to force re-creation for the next $MACHINE type + ./build.sh -m ${MACHINE} cleandir + rm obj/tooldir.* -rf echo "${MACHINE} done, first time." done @@ -98,6 +101,9 @@ for MACHINE in $MACHINES ; do ./build.sh -j $NEW_NUM_CPU -U -u -m ${MACHINE} release # save results in b2 save_netbsd_results b2 ${MACHINE} + # cleanup and explicitly delete old tooldir to force re-creation for the next $MACHINE type + ./build.sh -m ${MACHINE} cleandir + rm obj/tooldir.* -r echo "${MACHINE} done, second time." done -- cgit v1.2.3-70-g09d2