diff options
author | Erich Eckner <git@eckner.net> | 2017-10-05 11:52:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-05 11:52:08 +0200 |
commit | 47ab3c23b827a16b562187a6648208874780e582 (patch) | |
tree | d5893862dbb4f49da8898e065df2381fc387b231 | |
parent | 501aaea6d1d0ca7888003ea27d2f394d555c365b (diff) | |
download | archlinuxewe-47ab3c23b827a16b562187a6648208874780e582.tar.xz |
checkVersions: bugfix pypi hash
-rwxr-xr-x | checkVersions | 3 |
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="$( |