From adacaacd8921d3a678f13f796f4f03c5a9144ab7 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 11 Oct 2014 16:14:36 +0200 Subject: ch: add cbuild (clean build) Signed-off-by: Florian Pritz --- ch | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ch') diff --git a/ch b/ch index 5d5489e..d579345 100755 --- a/ch +++ b/ch @@ -2,6 +2,7 @@ # ch build ... build the current package for multiple chroots # ch clean remove all working copies +# ch cbuild ... clean then build # ch install ... install the package files in the chroot # ch kill all remove all chroots (including master chroot) # ch update update all chroots @@ -148,6 +149,12 @@ case $command in chbuild "$arg" -R done ;; + cbuild) + for arg; do + chclean "$arg" + chbuild "$arg" + done + ;; build) for arg; do chbuild "$arg" -- cgit v1.2.3-24-g4f1b