aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-13 16:49:26 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-13 16:49:26 +0000
commitc851713e0f02d192c21fe95247ac3b4e87a86c00 (patch)
tree0a58709c30fb1f71a19b44577fce3f8da678f78f
parent48c6a0db79c3bbc4279a1b79fa3d823b9eef967a (diff)
downloadcpt-c851713e0f02d192c21fe95247ac3b4e87a86c00.tar.gz
kiss: Added back missing error handling.
FossilOrigin-Name: 6a6d9464846ce2e72978711d200a7f96ae86416ef98d49eb74a6a50895d33830
-rwxr-xr-xkiss3
1 files changed, 2 insertions, 1 deletions
diff --git a/kiss b/kiss
index 541fb8d..a014081 100755
--- a/kiss
+++ b/kiss
@@ -214,7 +214,8 @@ main() {
"${mak_dir:=$cac_dir/build}" \
"${bin_dir:=$cac_dir/bin}" \
"${pkg_db:=${pkg_dir:=$cac_dir/pkg}/var/db/${0##*/}}" \
- "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/${0##*/}}"
+ "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/${0##*/}}" ||
+ die "Couldn't create directories."
args "$@"
}