aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-23 18:03:57 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-23 18:03:57 +0000
commitde2999d446f9d6a002a041cd13af9416dbf40321 (patch)
treea4d8246ad74e061cf04b284fee6d493afcccbbbb
parent7c81f63043097dd513b26c96979c816bbdec63fb (diff)
downloadcpt-de2999d446f9d6a002a041cd13af9416dbf40321.tar.gz
kiss: Fix issue with busybox wget
FossilOrigin-Name: ddad035019d7b22c13a8c31c903a5587eab6c496ce5b642a724497c6ba541495
-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'"