From 5c601bd695e0608ade0ba38c53cbadff1410b53c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 30 Jan 2020 14:53:03 +0200 Subject: [PATCH] kiss: Tell user about log file on error --- kiss | 1 + 1 file changed, 1 insertion(+) 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