aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-05 10:41:08 +0000
committermerakor <cem@ckyln.com>2021-01-05 10:41:08 +0000
commit2b5206e78906cbd2961cf517e225fe4580b25df3 (patch)
treee277433555c8b20e9b7a03bcc2b9312fc4e9b38a /src
parent28d17201f061e0bcb1c30732c2b0c4d071df1f0c (diff)
downloadcpt-2b5206e78906cbd2961cf517e225fe4580b25df3.tar.gz
cpt: add 'cbi' shortcut for checksum, build, and install
FossilOrigin-Name: a77a19063999297dfeb45dd725cb78dea0482030571dba0a34ae79b02e1c99fd
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpt b/src/cpt
index ee4a328..4ddb4df 100755
--- a/src/cpt
+++ b/src/cpt
@@ -44,6 +44,12 @@ case "$arg" in
[ "$2" ] || cpt-install "$@"
exit
;;
+ cbi)
+ # Checksum, build and install.
+ cpt-checksum "$@"; cpt-build "$@"
+ [ "$2" ] || cpt-install "$@"
+ exit
+ ;;
*) glob=1 ;;
esac