aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-01 16:31:27 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-01 16:31:27 +0000
commit87f9cc53f04f25a296a76a6ea403feb320951115 (patch)
tree54e9db57abf0932b6117937d95f8ec29423c3337
parent4c8530622a54d6754ba22350872802278a3d7906 (diff)
downloadcpt-87f9cc53f04f25a296a76a6ea403feb320951115.tar.gz
kiss: Added debug mode
FossilOrigin-Name: 0516979e1584b03014c0cc2a65a11f8621274045da523f1199ebf96d4b5b2415
-rwxr-xr-xkiss3
1 files changed, 2 insertions, 1 deletions
diff --git a/kiss b/kiss
index e0574f5..e73e648 100755
--- a/kiss
+++ b/kiss
@@ -810,6 +810,7 @@ pkg_updates() {
pkg_clean() {
# Clean up on exit or error. This removes everything related
# to the build.
+ [ "$KISS_DEBUG" = 1 ] && return
# Remove temporary directories.
rm -rf -- "$mak_dir" "$pkg_dir" "$tar_dir"
@@ -1001,7 +1002,7 @@ args() {
# Print version and exit.
v|ve|ver|vers|versi|versio|version)
- log "kiss 0.5.10"
+ log "kiss 0.5.11"
;;
# Print usage and exit.