diff options
author | Erich Eckner <git@eckner.net> | 2018-02-15 15:49:41 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-15 15:49:41 +0100 |
commit | 74b5ceb19b64d8f7f92320dfd269c5f6ceaf5bb2 (patch) | |
tree | 905c99c1c4b0adc542dff379a89e09e1a39e6ecf | |
parent | 45ca53e3a30afb02d30cbcf1ef16fa40278731f0 (diff) | |
download | builder-74b5ceb19b64d8f7f92320dfd269c5f6ceaf5bb2.tar.xz |
bin/common-functions: fix typo - arrrgh
-rwxr-xr-x | bin/common-functions | 2 |
1 files changed, 1 insertions, 1 deletions
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 |