index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/build-packages | 6 |
diff --git a/bin/build-packages b/bin/build-packages index bb2ecba..9c69c5a 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -469,9 +469,9 @@ while [ "${count}" -ne 0 ] && \ if echo "${straw}" | \ grep -qF ':clean_chroot:'; then - outerParameters='-c' + outerParameters="-c -r ${archbuild_chroots}" else - outerParameters='' + outerParameters="-r ${archbuild_chroots}" fi innerParameters='--nocolor' @@ -538,7 +538,7 @@ while [ "${count}" -ne 0 ] && \ # sometimes it is necessary to manually remove the root/ build # directory (due to leftover mounts of /run) - so we just do # it everytime '-c' is set - recursively_umount_and_rm '/var/lib/archbuild/'"${build_command%-build}" + recursively_umount_and_rm "${archbuild_chroots}/""${build_command%-build}" fi echo 'building' > "${tmp_dir}/.ping-build-master" |