Loading makechrootpkg +9 −9 Original line number Diff line number Diff line Loading @@ -221,6 +221,14 @@ if mkarchroot -r "/chrootbuild" "$copydir"; then fi done for l in "${copydir}"/build/*-{build,package}.log; do [ -f "$l" ] && mv "$l" "${WORKDIR}" done else #just in case. We returned 1, make sure we fail touch "${copydir}/build/BUILD_FAILED" fi for f in "${copydir}"/srcdest/*; do [ -e "$f" ] || continue if [ -d "$SRCDEST" ]; then Loading @@ -230,14 +238,6 @@ if mkarchroot -r "/chrootbuild" "$copydir"; then fi done for l in "${copydir}"/build/*-{build,package}.log; do [ -f "$l" ] && mv "$l" "${WORKDIR}" done else #just in case. We returned 1, make sure we fail touch "${copydir}/build/BUILD_FAILED" fi if [ -e "${copydir}/build/BUILD_FAILED" ]; then echo "Build failed, check $copydir/build" rm "${copydir}/build/BUILD_FAILED" Loading Loading
makechrootpkg +9 −9 Original line number Diff line number Diff line Loading @@ -221,6 +221,14 @@ if mkarchroot -r "/chrootbuild" "$copydir"; then fi done for l in "${copydir}"/build/*-{build,package}.log; do [ -f "$l" ] && mv "$l" "${WORKDIR}" done else #just in case. We returned 1, make sure we fail touch "${copydir}/build/BUILD_FAILED" fi for f in "${copydir}"/srcdest/*; do [ -e "$f" ] || continue if [ -d "$SRCDEST" ]; then Loading @@ -230,14 +238,6 @@ if mkarchroot -r "/chrootbuild" "$copydir"; then fi done for l in "${copydir}"/build/*-{build,package}.log; do [ -f "$l" ] && mv "$l" "${WORKDIR}" done else #just in case. We returned 1, make sure we fail touch "${copydir}/build/BUILD_FAILED" fi if [ -e "${copydir}/build/BUILD_FAILED" ]; then echo "Build failed, check $copydir/build" rm "${copydir}/build/BUILD_FAILED" Loading