Move build and package logs to WORKDIR, otherwise it is lost
This commit is contained in:
parent
0346db0ff7
commit
4ea489ad85
|
@ -254,6 +254,10 @@ if mkarchroot -r "/chrootbuild" "$uniondir"; then
|
||||||
mv "$f" "${WORKDIR}"
|
mv "$f" "${WORKDIR}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for l in "${uniondir}"/build/*-{build,package}.log; do
|
||||||
|
[ -f "$l" ] && mv "$l" "${WORKDIR}"
|
||||||
|
done
|
||||||
else
|
else
|
||||||
#just in case. We returned 1, make sure we fail
|
#just in case. We returned 1, make sure we fail
|
||||||
touch "${chrootdir}/union/build/BUILD_FAILED"
|
touch "${chrootdir}/union/build/BUILD_FAILED"
|
||||||
|
|
Loading…
Reference in New Issue