diff options
-rwxr-xr-x | src/chroot-tools/chcleanup | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chroot-tools/chcleanup b/src/chroot-tools/chcleanup index 49a2da4..d2d9a70 100755 --- a/src/chroot-tools/chcleanup +++ b/src/chroot-tools/chcleanup @@ -37,6 +37,7 @@ fi source /etc/libretools.d/chroot.conf # If we're running makepkg if [ -f PKGBUILD ]; then + export CARCH="$(. /etc/makepkg.conf; printf '%s' "$CARCH")" source PKGBUILD CHROOTEXTRAPKG+=("${depends[@]}" "${makedepends[@]}" |