Loading makechrootpkg +13 −12 Original line number Diff line number Diff line Loading @@ -193,11 +193,6 @@ chmod +x "$uniondir/chrootbuild" mkarchroot -r "/chrootbuild" "$uniondir" if [ -e ${chrootdir}/rw/build/BUILD_FAILED ]; then echo "Build failed, check \$CHROOT_DIR/rw/build" rm ${chrootdir}/rw/build/BUILD_FAILED exit 1 else source ${WORKDIR}/PKGBUILD if [ -z "$(mount | grep ${chrootdir}/union/pkgdest)" ]; then echo "Moving completed package file to ${WORKDIR}" Loading @@ -207,8 +202,14 @@ else echo "Moving downloaded source files to ${WORKDIR}" mv ${chrootdir}/union/srcdest/* ${WORKDIR} fi if [ -e ${chrootdir}/rw/build/BUILD_FAILED ]; then echo "Build failed, check \$CHROOT_DIR/rw/build" rm ${chrootdir}/rw/build/BUILD_FAILED else rm -rf ${chrootdir}/rw/build/* echo "Build complete" fi # vim:ft=sh:ts=4:sw=4:et: Loading
makechrootpkg +13 −12 Original line number Diff line number Diff line Loading @@ -193,11 +193,6 @@ chmod +x "$uniondir/chrootbuild" mkarchroot -r "/chrootbuild" "$uniondir" if [ -e ${chrootdir}/rw/build/BUILD_FAILED ]; then echo "Build failed, check \$CHROOT_DIR/rw/build" rm ${chrootdir}/rw/build/BUILD_FAILED exit 1 else source ${WORKDIR}/PKGBUILD if [ -z "$(mount | grep ${chrootdir}/union/pkgdest)" ]; then echo "Moving completed package file to ${WORKDIR}" Loading @@ -207,8 +202,14 @@ else echo "Moving downloaded source files to ${WORKDIR}" mv ${chrootdir}/union/srcdest/* ${WORKDIR} fi if [ -e ${chrootdir}/rw/build/BUILD_FAILED ]; then echo "Build failed, check \$CHROOT_DIR/rw/build" rm ${chrootdir}/rw/build/BUILD_FAILED else rm -rf ${chrootdir}/rw/build/* echo "Build complete" fi # vim:ft=sh:ts=4:sw=4:et: