index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/common-functions | 2 |
diff --git a/bin/common-functions b/bin/common-functions index bcf8ed2..d0786a9 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -431,7 +431,7 @@ remove_old_package_versions() { local pkgver local pkgrel local sub_pkgrel - pkgname="${pkgname%-*}" + pkgname="${package%-*}" pkgrel="${pkgname##*-}" sub_pkgrel="${pkgrel##*.}" if [ "${sub_pkgrel}" = "${pkgrel}" ]; then |