diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-07-09 16:33:41 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-07-09 16:33:41 +0200 |
commit | f788cd3383c6a313ce059761a7f9672d36d752e9 (patch) | |
tree | 316c1a4b08117f9dd108dc20454cd3d2fcfda2fb /bin/reproducible_netbsd.sh | |
parent | 66f739e47178c688d755d783c1478f2874cc7d8d (diff) | |
download | jenkins.debian.net-f788cd3383c6a313ce059761a7f9672d36d752e9.tar.xz |
reproducible netbsd: simplify save_netbsd_results()
Diffstat (limited to 'bin/reproducible_netbsd.sh')
-rwxr-xr-x | bin/reproducible_netbsd.sh | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh index 0ae94db9..09532eca 100755 --- a/bin/reproducible_netbsd.sh +++ b/bin/reproducible_netbsd.sh @@ -28,13 +28,9 @@ create_results_dirs() { save_netbsd_results(){ local RUN=$1 - local MACHINE - cd obj/releasedir/ - for MACHINE in $MACHINES ; do - mkdir -p $TMPDIR/$RUN/${MACHINE} - cp -pr ${MACHINE} $TMPDIR/$RUN/ - done - cd ../.. + local MACHINE=$2 + mkdir -p $TMPDIR/$RUN/${MACHINE} + cp -pr obj/releasedir/${MACHINE} $TMPDIR/$RUN/ } # @@ -74,7 +70,7 @@ for MACHINE in $MACHINES ; do ionice -c 3 nice \ ./build.sh -j $NUM_CPU -U -u -m ${MACHINE} release # save results in b1 - save_netbsd_results b1 + save_netbsd_results b1 ${MACHINE} echo "${MACHINE} done, first time." done @@ -101,7 +97,7 @@ for MACHINE in $MACHINES ; do linux64 --uname-2.6 \ ./build.sh -j $NEW_NUM_CPU -U -u -m ${MACHINE} release # save results in b2 - save_netbsd_results b2 + save_netbsd_results b2 ${MACHINE} echo "${MACHINE} done, second time." done |