mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
fix issue with build_package()'s return code getting swallowed up in a pipe
This commit is contained in:
parent
bee4c7c760
commit
7a67084d2b
@ -2901,8 +2901,9 @@ process_queue() {
|
||||
continue
|
||||
fi
|
||||
if [[ -f $SBOPKGTMP/sbopkg_build.lck ]]; then
|
||||
build_package $PKGPATH $PKGBUILD 2>&1 | tee $TMPBUILDLOG ||
|
||||
break
|
||||
set -o pipefail
|
||||
build_package $PKGPATH $PKGBUILD 2>&1 | tee $TMPBUILDLOG || break
|
||||
set +o pipefail
|
||||
echo "Done building package for $PKGBUILD."
|
||||
cd $SB_OUTPUT
|
||||
NEWPACKAGE=$(ls -1t *.t?z | head -n1)
|
||||
|
Loading…
Reference in New Issue
Block a user