aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-29 06:46:31 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-29 06:46:31 +0000
commit4558c090d4e2eb4dbd9f2aac475df27dc80c0049 (patch)
tree8c5cb69bc5ffb11b216dc4b4c69079014ae09280
parent61547a5323e653bbdba07dc9e6808c9d13f869fa (diff)
downloadcpt-4558c090d4e2eb4dbd9f2aac475df27dc80c0049.tar.gz
kiss-new: Clean up
FossilOrigin-Name: 5f045159798715a9d94219109dc51e3bcfee1459ef082da51ba63c06e4489f13
-rwxr-xr-xkiss-new7
1 files changed, 2 insertions, 5 deletions
diff --git a/kiss-new b/kiss-new
index f9df047..1dda4ac 100755
--- a/kiss-new
+++ b/kiss-new
@@ -247,7 +247,8 @@ args() {
case $1 in
# Build the list of packages.
b*)
-
+ shift
+ [ "$1" ] || die "'kiss build' requires an argument."
;;
# Generate checksums for packages.
@@ -255,20 +256,17 @@ args() {
shift
[ "$1" ] || die "'kiss checksum' requires an argument."
pkg_checksums "$@"
- exit
;;
# List installed packages.
l*)
shift
pkg_list "$@"
- exit
;;
# Print version and exit.
v*)
log "$kiss 0.1.10"
- exit
;;
# Catch all invalid arguments as well as
@@ -281,7 +279,6 @@ args() {
"list: List packages." \
"remove: Remove a package." \
"update: Check for updates."
- exit
;;
esac
}