From 86179698e9e51f9ce2de896741320d61a003be1a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 25 Mar 2021 11:10:11 +0100 Subject: checkVersions: cleanups --- checkVersions | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'checkVersions') diff --git a/checkVersions b/checkVersions index b8717d313..c3fe5cc0b 100755 --- a/checkVersions +++ b/checkVersions @@ -402,21 +402,21 @@ then latest_version ) elif echo "${src}" | \ - grep -q '^http://ftp.linux.org.uk/.*/netkit/' + grep -q '^http://ftp\.linux\.org\.uk/.*/netkit/' then quVer="${src%/*}/" - remVer="$( + remVer=$( curl_it "${quVer}" | \ tr '<>' '\n' | \ grep "^${pkgname#netkit-}-[0-9.-]\+\.tar\.gz\$" | \ sed "s|^${pkgname#netkit-}-\([0-9.-]\+\)\.tar\.gz\$|\1|" | \ latest_version - )" + ) elif [ "${pkgname}" == "archiso32" ] || [ "${pkgname}" == 'archiso-dual' ] then git -C /usr/src/archlinux/archiso fetch upstream git -C /usr/src/archlinux32/archiso32 fetch origin - remVer="$( + remVer=$( { git -C /usr/src/archlinux/archiso tag git -C /usr/src/archlinux32/archiso32 tag @@ -427,12 +427,12 @@ then p ' | \ latest_version - )" + ) elif [ "${pkgname}" == 'devtools32' ] then git -C /usr/src/archlinux/devtools fetch upstream git -C /usr/src/archlinux32/devtools32 fetch origin - remVer="$( + remVer=$( ( git -C /usr/src/archlinux/devtools archive --format=tar upstream/master -- Makefile | \ tar -Ox | \ @@ -445,7 +445,7 @@ then ' ) | \ latest_version - )" + ) elif [ "${pkgname}" == 'pacman-mirrorlist32' ] then git -C "/usr/src/archlinux32/packages" fetch origin >/dev/null 2>&1 -- cgit v1.2.3-54-g00ecf