index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2022-03-31 06:16:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-03-31 06:16:47 +0200 |
commit | cbf3422b7547eaddda46e49b3595bbb14347f57d (patch) | |
tree | 5869ac193cf8eefe10b8483bff3064769429cc10 | |
parent | a5c01c9104e6566e5546f938a513445b06670963 (diff) |
-rwxr-xr-x | lib/common-functions | 2 |
diff --git a/lib/common-functions b/lib/common-functions index 8c263ab..d16c61d 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -447,7 +447,7 @@ mangle_pkgbuild() { /^arch=[^#]*any/!{ /^arch=(/s/(/(i486 i686 pentium4 / } - s/^\(\s*pkgrel=\)['"'"'"]\?\([0-9.]\+\)['"'"'"]\?\s*\(#.*\)\?$/\1"\2'"${sub_pkgrel}"'"/ + s/^\(\s*pkgrel=\)['"'"'"]\?\([0-9]\+\)\(\.[0-9.]*\)\?['"'"'"]\?\s*\(#.*\)\?$/\1"\2'"${sub_pkgrel:-\\3}"'"/ ' "${PKGBUILD}" # shellcheck disable=SC2016 |