aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-30 12:53:02 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-30 12:53:02 +0000
commitba2a49083bdcd21bd5523073a97e413ee3dc5092 (patch)
tree0b16ca8954e95d1a2d8563b7047f5441d30b31e7
parent56de7dd25aa31cf00d15fb5496127693c8f31e15 (diff)
downloadcpt-ba2a49083bdcd21bd5523073a97e413ee3dc5092.tar.gz
kiss: Tell user about log file on error
FossilOrigin-Name: 845442b87164913cf09767941ab202b775831aed9e91f69687416a4fb6d7f2da
-rwxr-xr-xkiss1
1 files changed, 1 insertions, 0 deletions
diff --git a/kiss b/kiss
index fea22a0..7278a83 100755
--- a/kiss
+++ b/kiss
@@ -569,6 +569,7 @@ pkg_build() {
# we must resort to tricks like killing the script ourselves.
{ "$repo_dir/build" "$pkg_dir/$pkg" || {
log "$pkg" "Build failed"
+ log "$pkg" "Log stored to $log_dir/$pkg-$time-$pid"
pkg_clean
kill 0
} } 2>&1 | tee "$log_dir/$pkg-$time-$pid" > /dev/tty