summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-25 11:10:11 +0100
committerErich Eckner <git@eckner.net>2021-03-25 11:10:11 +0100
commit86179698e9e51f9ce2de896741320d61a003be1a (patch)
treee6d2b011242578f0f12088292a0ba515cf751c9c /checkVersions
parent40f0bf8510ed150a4ed9bb92d6f7f48d58998b7f (diff)
downloadarchlinuxewe-86179698e9e51f9ce2de896741320d61a003be1a.tar.xz
checkVersions: cleanups
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions14
1 files changed, 7 insertions, 7 deletions
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