From dc7edb798cc76e482d5a43280dfc9e54b0593bb8 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 1 Sep 2019 17:16:39 +0300 Subject: [PATCH] kiss: fix logs --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 63bb688..549f87b 100755 --- a/kiss +++ b/kiss @@ -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 ] && {