summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions9
1 files changed, 7 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index e381d8a5..f8779cce 100755
--- a/checkVersions
+++ b/checkVersions
@@ -160,16 +160,21 @@ then
elif [ $# -eq 1 ] && ${versionenErmitteln}
then
+ unset pkgbase
+ unset pkgname
+ unset pkgver
if ${archlinuxewe}; then
. $1/PKGBUILD
srcKnown=false
else
eval "$(
- grep '^pkgname=' $1/PKGBUILD
- grep '^pkgver=' $1/PKGBUILD
+ grep '^pkg(base|name|ver)=' $1/PKGBUILD
)"
source=(dummy)
fi
+ if [ -n "${pkgbase}" ]; then
+ pkgname="${pkgbase}"
+ fi
for src in "${source[@]}" "${source_i686[@]}" "${source_x86_64[@]}"
do