aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss7
1 files changed, 6 insertions, 1 deletions
diff --git a/kiss b/kiss
index 7a97d60..44b9a56 100755
--- a/kiss
+++ b/kiss
@@ -231,7 +231,12 @@ 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}"
+ src_dir=$src_dir/$name
+ mkdir -p "$src_dir"
+ esac
+
case $1 in
b*) [ -f checksums ] ||
die "Checksums missing, run '$kiss checksum $name'"