forked from kiss-community/kiss
kiss: Tell user about log file on error
This commit is contained in:
parent
0a64dc1808
commit
5c601bd695
1
kiss
1
kiss
@ -569,6 +569,7 @@ pkg_build() {
|
|||||||
# we must resort to tricks like killing the script ourselves.
|
# we must resort to tricks like killing the script ourselves.
|
||||||
{ "$repo_dir/build" "$pkg_dir/$pkg" || {
|
{ "$repo_dir/build" "$pkg_dir/$pkg" || {
|
||||||
log "$pkg" "Build failed"
|
log "$pkg" "Build failed"
|
||||||
|
log "$pkg" "Log stored to $log_dir/$pkg-$time-$pid"
|
||||||
pkg_clean
|
pkg_clean
|
||||||
kill 0
|
kill 0
|
||||||
} } 2>&1 | tee "$log_dir/$pkg-$time-$pid" > /dev/tty
|
} } 2>&1 | tee "$log_dir/$pkg-$time-$pid" > /dev/tty
|
||||||
|
Loading…
Reference in New Issue
Block a user