summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-20 09:34:20 +0200
committerErich Eckner <git@eckner.net>2019-06-20 09:34:20 +0200
commitee25e86a65895a20eadc6559d2edbcd92641b15b (patch)
treeef3ff6a07fda166c4ff1675f45251618b77d9f35 /bin/build-packages
parenta20502b2ef5b4ba2701adc9185108039377d3938 (diff)
downloadbuilder-ee25e86a65895a20eadc6559d2edbcd92641b15b.tar.xz
bin/build-packages: deduplicate a line
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/build-packages b/bin/build-packages
index ca7c661..213a9c5 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -480,11 +480,10 @@ while [ "${count}" -ne 0 ] && \
fi
fi
+ outerParameters="-r ${archbuild_chroots}"
if echo "${straw}" | \
grep -qF ':clean_chroot:'; then
- outerParameters="-c -r ${archbuild_chroots}"
- else
- outerParameters="-r ${archbuild_chroots}"
+ outerParameters="-c ${outerParameters}"
fi
innerParameters='--nocolor'