kiss: fix logs

This commit is contained in:
Dylan Araps 2019-09-01 17:16:39 +03:00
parent ccd7e4c7c3
commit dc7edb798c
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -505,7 +505,7 @@ pkg_build() {
# Call the build script and create a temporary file on error.
# This is the simplest way to mimic "pipefail" in POSIX sh as
# 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.
[ -f err ] && {