diff options
author | XenHat | 2023-11-13 19:19:42 -0500 |
---|---|---|
committer | XenHat | 2023-11-13 19:19:42 -0500 |
commit | 40d861e6b87d165688b1b196655abae6b0655609 (patch) | |
tree | 09e9d5d3a2b486d76e131f485914497ab3f4e10a | |
parent | 8c901acd6cc2015125e440a2df73b7a77e35c402 (diff) | |
download | aur-40d861e6b87d165688b1b196655abae6b0655609.tar.gz |
Fix: stderr not being saved to log file
-rwxr-xr-x | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -140,9 +140,9 @@ build() { msg2 "ccache was found and will be used" fi _logfile="${srcdir}/build.${CARCH}.$(date +%s).log" - $prefix_cmd autobuild configure -A 64 -c ReleaseOS -- "${AL_CMAKE_CONFIG[@]}" | tee "$_logfile" 2>&1 - msg2 "Building with ${AUTOBUILD_CPU_COUNT} jobs" - $prefix_cmd autobuild build -A64 -c ReleaseOS --no-configure | tee --append "${srcdir}/build.${CARCH}.$(date +%s).log" 2>&1 + $prefix_cmd autobuild configure -A 64 -c ReleaseOS -- "${AL_CMAKE_CONFIG[@]}" > >(tee -a "$_logfile") 2> >(tee -a "$_logfile" >&2) + msg2 "Building with ${AUTOBUILD_CPU_COUNT} jobs" + $prefix_cmd autobuild build -A 64 -c ReleaseOS --no-configure > >(tee -a "$_logfile") 2> >(tee -a "$_logfile" >&2) } # template end; |