aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-24 07:00:24 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-24 07:00:24 +0000
commitfee650445a9ed049a069a442bd5333b0875c2a14 (patch)
tree93c3a07006925c164ce72efeecd10604a1cc7034
parentade328ef572205bddf81f904ee9d53d402fb74fb (diff)
downloadcpt-fee650445a9ed049a069a442bd5333b0875c2a14.tar.gz
kiss: Fix directory error.
FossilOrigin-Name: 64739b1da69522c0f1f385c1d5d717cd6184c1441de6456ee4e973cbe9425e7d
-rwxr-xr-xkiss9
1 files changed, 2 insertions, 7 deletions
diff --git a/kiss b/kiss
index af7d52d..c7e930e 100755
--- a/kiss
+++ b/kiss
@@ -231,12 +231,7 @@ args() {
i*|r*) die "No write permissions to \$KISS_ROOT."
esac
- case $1 in b*|c*|i*)
- pkg_setup "${2-null}"
- src_dir=$src_dir/$name
- mkdir -p "$src_dir"
- esac
-
+ case $1 in b*|c*|i*) pkg_setup "${2-null}"; src_dir=$src_dir/$name; esac
case $1 in
b*) [ -f checksums ] ||
die "Checksums missing, run '$kiss checksum $name'"
@@ -265,7 +260,7 @@ args() {
l*) pkg_list "$2" ;;
r*) pkg_remove "${2-null}" || die "Package '${2-null}' not installed." ;;
u*) pkg_updates ;;
- v*) log "$kiss 0.1.5" ;;
+ v*) log "$kiss 0.1.6" ;;
*) log "$kiss [b|c|i|l|r|u] [pkg]" \
"build: Build a package." \