aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-24 07:09:50 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-24 07:09:50 +0000
commit5f9a9c5eb5569a352e80ad7c63ce11dac132a9b8 (patch)
treedc4febb40ef258710ce914ce5fe2800d1328afa1 /kiss
parentfee650445a9ed049a069a442bd5333b0875c2a14 (diff)
downloadcpt-5f9a9c5eb5569a352e80ad7c63ce11dac132a9b8.tar.gz
kiss: Fix bug with kiss i when it builds.
FossilOrigin-Name: e1220e9a0f72b59bf634e5eca2f5dda4d2d54a38282905ce97c27c3072666912
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 3 insertions, 1 deletions
diff --git a/kiss b/kiss
index c7e930e..637a3e8 100755
--- a/kiss
+++ b/kiss
@@ -63,6 +63,8 @@ pkg_depends() {
}
pkg_sources() {
+ src_dir=$cac_dir/sources/$name
+
while read -r src _; do
case $(source_type "$src"; echo $?) in
4) git clone "${src##git:}" "$mak_dir" ;;
@@ -231,7 +233,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; esac
+ case $1 in b*|c*|i*) pkg_setup "${2-null}"; esac
case $1 in
b*) [ -f checksums ] ||
die "Checksums missing, run '$kiss checksum $name'"