kiss: Fix directory error.

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

9
kiss
View File

@ -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." \