Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archbuild.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/archbuild.in b/archbuild.in
index 2c5aca5..7ce0804 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -55,6 +55,14 @@ else
makechrootpkg_args+=('-d/var/cache/archbuild32:/var/cache/pacman/pkg')
fi
+if [ "${arch}" = "x86_64" ]; then
+ cache_dir=''
+else
+ mkdir -p '/var/cache/archbuild32'
+ cache_dir='-c/var/cache/archbuild32'
+ makechrootpkg_args+=('-d/var/cache/archbuild32:/var/cache/pacman/pkg')
+fi
+
# Pass all arguments after -- right to makepkg
makechrootpkg_args+=("${@:$OPTIND}")