diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-24 07:09:50 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-24 07:09:50 +0000 |
commit | 5f9a9c5eb5569a352e80ad7c63ce11dac132a9b8 (patch) | |
tree | dc4febb40ef258710ce914ce5fe2800d1328afa1 /kiss | |
parent | fee650445a9ed049a069a442bd5333b0875c2a14 (diff) | |
download | cpt-5f9a9c5eb5569a352e80ad7c63ce11dac132a9b8.tar.gz |
kiss: Fix bug with kiss i when it builds.
FossilOrigin-Name: e1220e9a0f72b59bf634e5eca2f5dda4d2d54a38282905ce97c27c3072666912
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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'" |