diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-10-11 16:14:36 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-10-11 16:14:36 +0200 |
commit | adacaacd8921d3a678f13f796f4f03c5a9144ab7 (patch) | |
tree | abab7e3af97b3d62b2248937b6e5bea701ba09ca | |
parent | e5cf5827b5cc9498df89df56afe4537ac5d3c9f7 (diff) | |
download | bin-adacaacd8921d3a678f13f796f4f03c5a9144ab7.tar.gz bin-adacaacd8921d3a678f13f796f4f03c5a9144ab7.tar.xz |
ch: add cbuild (clean build)
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | ch | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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" |