1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 16:40:07 -07:00

kiss: Fix bug with kiss i when it builds.

This commit is contained in:
Dylan Araps 2019-06-24 10:09:51 +03:00
parent f7437ef0f8
commit 97c1e27c83

4
kiss
View File

@ -63,6 +63,8 @@ pkg_depends() {
} }
pkg_sources() { pkg_sources() {
src_dir=$cac_dir/sources/$name
while read -r src _; do while read -r src _; do
case $(source_type "$src"; echo $?) in case $(source_type "$src"; echo $?) in
4) git clone "${src##git:}" "$mak_dir" ;; 4) git clone "${src##git:}" "$mak_dir" ;;
@ -231,7 +233,7 @@ args() {
i*|r*) die "No write permissions to \$KISS_ROOT." i*|r*) die "No write permissions to \$KISS_ROOT."
esac 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 case $1 in
b*) [ -f checksums ] || b*) [ -f checksums ] ||
die "Checksums missing, run '$kiss checksum $name'" die "Checksums missing, run '$kiss checksum $name'"