Loading makechrootpkg +21 −18 Original line number Diff line number Diff line Loading @@ -218,8 +218,7 @@ EOF ) > "$uniondir/chrootbuild" chmod +x "$uniondir/chrootbuild" mkarchroot -r "/chrootbuild" "$uniondir" if mkarchroot -r "/chrootbuild" "$uniondir"; then source ${WORKDIR}/PKGBUILD if [ -n "$add_to_db" ]; then Loading @@ -238,6 +237,10 @@ if [ -z "$(mount | grep ${chrootdir}/union/srcdest)" ]; then echo "Moving downloaded source files to ${WORKDIR}" mv ${chrootdir}/union/srcdest/* ${WORKDIR} fi else #just in case. We returned 1, make sure we fail touch ${chrootdir}/rw/build/BUILD_FAILED fi if [ -e ${chrootdir}/rw/build/BUILD_FAILED ]; then echo "Build failed, check $chrootdir/rw/build" Loading Loading
makechrootpkg +21 −18 Original line number Diff line number Diff line Loading @@ -218,8 +218,7 @@ EOF ) > "$uniondir/chrootbuild" chmod +x "$uniondir/chrootbuild" mkarchroot -r "/chrootbuild" "$uniondir" if mkarchroot -r "/chrootbuild" "$uniondir"; then source ${WORKDIR}/PKGBUILD if [ -n "$add_to_db" ]; then Loading @@ -238,6 +237,10 @@ if [ -z "$(mount | grep ${chrootdir}/union/srcdest)" ]; then echo "Moving downloaded source files to ${WORKDIR}" mv ${chrootdir}/union/srcdest/* ${WORKDIR} fi else #just in case. We returned 1, make sure we fail touch ${chrootdir}/rw/build/BUILD_FAILED fi if [ -e ${chrootdir}/rw/build/BUILD_FAILED ]; then echo "Build failed, check $chrootdir/rw/build" Loading