diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-08 08:55:57 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-08 08:55:57 +0000 |
commit | ef34ceb7bfb2cd81b824747bc9a851a3a82535a9 (patch) | |
tree | 01e7768cf89a73bb7faa744f17116e1d531662a6 /kiss | |
parent | e87447803ef980b255aaef826185c890a0e19aed (diff) | |
download | cpt-ef34ceb7bfb2cd81b824747bc9a851a3a82535a9.tar.gz |
kiss: Add back KISS_DEBUG. Closes #109
FossilOrigin-Name: 5cbe1968d9350612e1ef13e5572b08642a95c8f09f8efcd45dcf93a6c7f3c680
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -616,7 +616,7 @@ pkg_build() { # Delete the log file if the build succeeded to prevent # the directory from filling very quickly with useless logs. - [ "$KISS_DEBUG" = 1 ] || rm -f "$log_dir/$pkg-$time-$pid" + [ "$KISS_KEEPLOG" = 1 ] || rm -f "$log_dir/$pkg-$time-$pid" # Copy the repository files to the package directory. # This acts as the database entry. @@ -1164,6 +1164,7 @@ pkg_updates() { pkg_clean() { # Clean up on exit or error. This removes everything related # to the build. + [ "$KISS_DEBUG" != 1 ] || return # Block 'Ctrl+C' while cache is being cleaned. trap '' INT |