| |
@@ -32,8 +32,7 @@
|
| |
# the same type, so we don't need to read it again for each line.
|
| |
while read -r _ filename _ hash; do
|
| |
# Remove parenthesis around tarball name
|
| |
- filename=${filename#(}
|
| |
- tarball=${filename%)}
|
| |
+ tarball="`echo $filename | sed 's/(\|)//g'`"
|
| |
curl -L -H Pragma: -o "./$tarball" -R -S --fail "$baseurl/$pkgname/$tarball/$hashtype/$hash/$tarball"
|
| |
done < sources
|
| |
"${hashtype}sum" -c sources
|
| |
Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com