diff --git a/pkg/de-p1st-repo/PKGBUILD b/pkg/de-p1st-repo/PKGBUILD index 9906acb..d7823bc 100644 --- a/pkg/de-p1st-repo/PKGBUILD +++ b/pkg/de-p1st-repo/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=repo _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.2.5 +pkgver=0.2.6 pkgrel=1 pkgdesc="Bash script to manage remote Arch Linux repository" arch=('any') diff --git a/pkg/de-p1st-repo/arch-repo-vercmp.sh b/pkg/de-p1st-repo/arch-repo-vercmp.sh index 1477bc0..0cb225e 100644 --- a/pkg/de-p1st-repo/arch-repo-vercmp.sh +++ b/pkg/de-p1st-repo/arch-repo-vercmp.sh @@ -45,12 +45,12 @@ function get_vcs_packages(){ # https://github.com/AladW/aurutils/pull/283/files readonly AURVCS='.*-(bzr|git|hg|svn)$' - for PKG_VER in "${PKG_VERS[@]}"; do + while IFS= read -r PKG_VER; do PKGNAME=$(first_word "${PKG_VER}") || return $? if echo "${PKGNAME}" | grep -E "$AURVCS"; then VCS_PKGS+=("${PKGNAME}") fi - done + done <<< "${PKG_VERS}" } #