aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-13 15:11:59 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-13 15:11:59 +0000
commit31ee8f28e2b9308edbd6cd929d3723d2b978deda (patch)
treef9671e69e5b9136a7225b048d5fbf15243d440df /kiss
parent56ceb553f99cf6cd44a63e9e7b6dacc347c5935a (diff)
downloadcpt-31ee8f28e2b9308edbd6cd929d3723d2b978deda.tar.gz
docs: update
FossilOrigin-Name: 4f56bb689416013c032d1e28783db2809600a59af75976d39b495b5ea5ec5d31
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss16
1 files changed, 9 insertions, 7 deletions
diff --git a/kiss b/kiss
index 960f39d..fae7450 100755
--- a/kiss
+++ b/kiss
@@ -196,13 +196,15 @@ args() {
main() {
trap 'rm -rf -- "$mak_dir" "$pkg_dir"' EXIT INT
- mkdir -p "${src_dir:=$PWD/sources}" \
- "${mak_dir:=$PWD/build}" \
- "${pkg_db:=${pkg_dir:=$PWD/pkg}/var/db/$0}" \
- "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/$0}" \
- "${bin_dir:=$PWD/bin}" \
- "${rep_dir:=$PWD/repo}" ||
- die "Couldn't create directories at $PWD."
+ [ -z "$KISS_PATH" ] && die "Set \$KISS_PATH to a repository location."
+
+ # mkdir -p "${src_dir:=$PWD/sources}" \
+ # "${mak_dir:=$PWD/build}" \
+ # "${pkg_db:=${pkg_dir:=$PWD/pkg}/var/db/$0}" \
+ # "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/$0}" \
+ # "${bin_dir:=$PWD/bin}" \
+ # "${rep_dir:=$PWD/repo}" ||
+ # die "Couldn't create directories at $PWD."
args "$@"
}