diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-30 12:53:02 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-30 12:53:02 +0000 |
commit | ba2a49083bdcd21bd5523073a97e413ee3dc5092 (patch) | |
tree | 0b16ca8954e95d1a2d8563b7047f5441d30b31e7 | |
parent | 56de7dd25aa31cf00d15fb5496127693c8f31e15 (diff) | |
download | cpt-ba2a49083bdcd21bd5523073a97e413ee3dc5092.tar.gz |
kiss: Tell user about log file on error
FossilOrigin-Name: 845442b87164913cf09767941ab202b775831aed9e91f69687416a4fb6d7f2da
-rwxr-xr-x | kiss | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |