summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions3
1 files changed, 2 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 47ca8314e..c4b4aa5de 100755
--- a/checkVersions
+++ b/checkVersions
@@ -284,7 +284,8 @@ then
remHash="$(
curl_it "${qu}${remVer}" | \
tr '"#' '\n' | \
- grep -m1 "^https://pypi\.python\.org/packages/.*/[0-9a-f]\{60\}/${pkgname#*-}-${remVer}\.tar\.\(gz\|bz2\|xz\)\$" | \
+ sponge | \
+ grep -m1 "^https://pypi\.python\.org/packages/.*/[0-9a-f]\{60\}/${_pkgname}-${remVer}\.tar\.\(gz\|bz2\|xz\)\$" | \
sed 's|/[^/]\+$|/|; s|^https://pypi\.python\.org/packages/|/|'
)"
locHash="$(