From 74b5ceb19b64d8f7f92320dfd269c5f6ceaf5bb2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 15 Feb 2018 15:49:41 +0100 Subject: bin/common-functions: fix typo - arrrgh --- bin/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-54-g00ecf