mirror of
https://codeberg.org/kiss-community/kiss
synced 2025-01-13 06:10:07 -07:00
kiss: fix logs
This commit is contained in:
parent
ccd7e4c7c3
commit
dc7edb798c
2
kiss
2
kiss
@ -505,7 +505,7 @@ pkg_build() {
|
|||||||
# Call the build script and create a temporary file on error.
|
# Call the build script and create a temporary file on error.
|
||||||
# This is the simplest way to mimic "pipefail" in POSIX sh as
|
# This is the simplest way to mimic "pipefail" in POSIX sh as
|
||||||
# you cannot exit from within a pipe.
|
# you cannot exit from within a pipe.
|
||||||
{ "$repo_dir/build" "$pkg_dir/$pkg" || :> err; } | tee log
|
{ "$repo_dir/build" "$pkg_dir/$pkg" || :> err; } 2>&1 | tee log
|
||||||
|
|
||||||
# If the file exists the build errored, die here and save the log.
|
# If the file exists the build errored, die here and save the log.
|
||||||
[ -f err ] && {
|
[ -f err ] && {
|
||||||
|
Loading…
Reference in New Issue
Block a user