diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-07-09 17:47:43 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-07-09 17:47:43 +0200 |
commit | 1ee8bb2c7a9e4b8ae5676dd8bd383a152ee5f604 (patch) | |
tree | bd95c5294f6f57737ffac7261cf46e7d439f03b0 /bin/reproducible_netbsd.sh | |
parent | c6502c10bec9835ff2982dfea37d5b9c5ccc442c (diff) | |
download | jenkins.debian.net-1ee8bb2c7a9e4b8ae5676dd8bd383a152ee5f604.tar.xz |
reproducible netbsd: try harder to cleanup properly between builds
Diffstat (limited to 'bin/reproducible_netbsd.sh')
-rwxr-xr-x | bin/reproducible_netbsd.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 |