summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakechrootpkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg
index e48db6f..9dcd1b1 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -254,6 +254,10 @@ if mkarchroot -r "/chrootbuild" "$uniondir"; then
mv "$f" "${WORKDIR}"
fi
done
+
+ for l in "${uniondir}"/build/*-{build,package}.log; do
+ [ -f "$l" ] && mv "$l" "${WORKDIR}"
+ done
else
#just in case. We returned 1, make sure we fail
touch "${chrootdir}/union/build/BUILD_FAILED"