aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-24 07:35:36 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-24 07:35:36 +0000
commitbe6762000d20259440247b4b2db51ab583179b7d (patch)
treefdb2b2131864a5497dea7fbf16493e8e1efde812 /kiss
parent5900787f594b515ab224b3a90ae41ab9fab4f6c0 (diff)
downloadcpt-be6762000d20259440247b4b2db51ab583179b7d.tar.gz
kiss: Fix another source issue.
FossilOrigin-Name: 3b640dc34c186716ec693ce0e30b0e6cae5c94e2b3fb91fd2ff146a56ce31904
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index c181a02..a31e9e4 100755
--- a/kiss
+++ b/kiss
@@ -64,6 +64,7 @@ pkg_depends() {
pkg_sources() {
src_dir=$cac_dir/sources/$name
+ mkdir -p "$src_dir"
while read -r src _; do
case $(source_type "$src"; echo $?) in
@@ -262,7 +263,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.7" ;;
+ v*) log "$kiss 0.1.8" ;;
*) log "$kiss [b|c|i|l|r|u] [pkg]" \
"build: Build a package." \
@@ -282,7 +283,6 @@ main() {
[ -z "$KISS_PATH" ] && die "Set \$KISS_PATH to a repository location."
mkdir -p "${cac_dir:=${XDG_CACHE_HOME:=$HOME/.cache}/$kiss}" \
- "${src_dir:=$cac_dir/sources}" \
"${mak_dir:=$cac_dir/build-$$}" \
"${bin_dir:=$cac_dir/bin}" \
"${pkg_db:=${pkg_dir:=$cac_dir/pkg-$$}/var/db/$kiss}" ||