summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-12 18:34:44 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-12 18:34:44 +0200
commite012114406a33674706901b26e8a2784be9944ea (patch)
tree10e6b12f11ca14bfeb5ef27e2627b39f345a9d0e /bin/reproducible_build.sh
parent0a6cbf507fe27be56d2d645d8e336a9352395c4d (diff)
downloadjenkins.debian.net-e012114406a33674706901b26e8a2784be9944ea.tar.xz
use 'ionice -c 3 nice' instead of 'nice ionice -c 3' everywhere
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 1a5994d3..5d6cf927 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -360,7 +360,7 @@ first_build(){
local TMPCFG=$(mktemp -t pbuilderrc_XXXX --tmpdir=$TMPDIR)
set -x
printf "BUILDUSERID=1111\nBUILDUSERNAME=pbuilder1\n" > $TMPCFG
- ( timeout -k 12h 12h nice ionice -c 3 sudo \
+ ( timeout -k 12h 12h ionice -c 3 nice sudo \
DEB_BUILD_OPTIONS="parallel=$NUM_CPU" \
TZ="/usr/share/zoneinfo/Etc/GMT+12" \
pbuilder --build \
@@ -418,7 +418,7 @@ build_rebuild() {
set -x
local TMPCFG=$(mktemp -t pbuilderrc_XXXX --tmpdir=$TMPDIR)
printf "BUILDUSERID=2222\nBUILDUSERNAME=pbuilder2\n" > $TMPCFG
- ( timeout -k 12h 12h nice ionice -c 3 sudo \
+ ( timeout -k 12h 12h ionice -c 3 nice sudo \
DEB_BUILD_OPTIONS="parallel=$(echo $NUM_CPU-1|bc)" \
TZ="/usr/share/zoneinfo/Etc/GMT-14" \
LANG="fr_CH.UTF-8" \