summaryrefslogtreecommitdiff
path: root/community/borg/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-07-01 21:08:07 +0200
committerErich Eckner <git@eckner.net>2020-07-01 21:08:07 +0200
commit2f2b044ea320bb2e36828c64b05f0de4e91861b1 (patch)
tree31eb9c9ce869757043ce552c6bdcd274d27be77d /community/borg/PKGBUILD
parent9661477d291abce39efcc88fb94251ce8a143134 (diff)
downloadpackages-2f2b044ea320bb2e36828c64b05f0de4e91861b1.tar.xz
community/borg: fix check() for i486, too
Diffstat (limited to 'community/borg/PKGBUILD')
-rw-r--r--community/borg/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/borg/PKGBUILD b/community/borg/PKGBUILD
index 9f447936..cede8a2e 100644
--- a/community/borg/PKGBUILD
+++ b/community/borg/PKGBUILD
@@ -1,9 +1,9 @@
# CARCH -> pentium4 bug
-if [ "${CARCH}" = "pentium4" ]; then
+if [ "${CARCH}" = "pentium4" ] || [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f check | \
sed '
- /cd/s/$CARCH/i686/
+ /cd/s/\$CARCH/i686/
'
)"
fi