summaryrefslogtreecommitdiffstats
path: root/ch
diff options
context:
space:
mode:
Diffstat (limited to 'ch')
-rwxr-xr-xch18
1 files changed, 14 insertions, 4 deletions
diff --git a/ch b/ch
index cd87bc4..11bb986 100755
--- a/ch
+++ b/ch
@@ -1,12 +1,22 @@
#!/bin/bash
-# ch build <id>... build the current package for multiple chroots
+# ch build <id> ... build the current package for multiple chroots
+# ch build-single <id> [<arguments]
+# build the current package for one chroot and pass arguments to makechrootpkg
# 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 cbuild <id> ... clean then build
+# ch install <id> <package files>...
+# install the package files in the chroot
+# ch kill <id> remove a chroot (including master chroot)
# ch kill all remove all chroots (including master chroot)
+# ch update <id> ... update a chroot
# ch update update all chroots
# ch list lists all existing master chroots
+# ch shell <id> [command ...]
+# spawn a shell/run command in a chroot
+# ch rshell <id> [command ...]
+# spawn a shell/run command in the master chroot
+# ch repack <id> ... repack (makepkg -R)
# IDs work like this:
# 64 = 64bit extra
@@ -83,7 +93,7 @@ __chrootalias() {
__cleanup_logs() {
mkdir -p "$1/logs"
- mv "$1/"*.log "$1/logs"
+ mv "$1/"*.log "$1/"*.log.* "$1/logs/"
}
chkill() {