summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-08 13:39:23 +0200
committerErich Eckner <git@eckner.net>2018-06-08 13:39:23 +0200
commitfcfe8b1f4fb536d305cdcc5e633905f16b9d663c (patch)
tree3002293f3cef7eabd15c2ead4fa886cfdd45698a /lib/common-functions
parent0c9e276f67343bed25122cbd9794b3a5dfd1529d (diff)
downloadbuilder-fcfe8b1f4fb536d305cdcc5e633905f16b9d663c.tar.xz
lib/common-functions: make comment more correct
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index e9534f4..ce16e73 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -346,7 +346,7 @@ recursively_umount_and_rm() {
}
# mangle_pkgbuild $PKGBUILD [$sub_pkgrel]
-# mangle $arch in PKBUILDs to contain i486, i586, i686
+# mangle $arch in PKBUILDs to contain i486, i686, pentium3
# append $sub_pkgrel to the pkgrel
# remove "lib32-" from {make,check,opt,}depends
@@ -366,7 +366,7 @@ mangle_pkgbuild() {
sed -i '
/^arch=[^#]*any/!{
- /^arch=(/s/(/(i686 i486 pentium3 /
+ /^arch=(/s/(/(i486 i686 pentium3 /
}
s/^\(\s*pkgrel=\)['"'"'"]\?\([0-9.]\+\)['"'"'"]\?\s*\(#.*\)\?$/\1"\2'"${sub_pkgrel}"'"/
' "${PKGBUILD}"