summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'