diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-27 21:00:30 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-27 21:00:30 -0600 |
commit | 81c44824f174eda5f57c396cc7d91e2c97490d93 (patch) | |
tree | 4f15d331bca39bb22ce0fc35c8b86eae29825a5b | |
parent | 5dd6e17100a86b79a3fd6fedc8cce49dcc298356 (diff) |
cleanup: set CARCH before loading PKGBUILD
-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[@]}" |