index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-16 17:17:19 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-02-13 14:06:33 +0100 |
commit | 423d9e51e5f182b0dd42a311b197cf29cf11cb3f (patch) | |
tree | 7201ada181e30ce4a726a78d98bdec40537dd2c1 | |
parent | 31d8555e83f0eabdf4e53f903a52ff027ffe08fb (diff) |
-rw-r--r-- | archbuild.in | 8 |
diff --git a/archbuild.in b/archbuild.in index 827ee66..55109f0 100644 --- a/archbuild.in +++ b/archbuild.in @@ -63,6 +63,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}") |