summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xch7
1 files changed, 7 insertions, 0 deletions
diff --git a/ch b/ch
index 5d5489e..d579345 100755
--- a/ch
+++ b/ch
@@ -2,6 +2,7 @@
# ch build <id>... build the current package for multiple chroots
# ch clean remove all working copies
+# ch cbuild <id>... clean then build
# ch install <id> <package files>... 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"