mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
gradlew-fdroid: save downloads with proper name
This makes re-using them for makebuildserver possible
This commit is contained in:
parent
51ef9a8a99
commit
03e9fe4b38
@ -42,8 +42,8 @@ download_gradle() {
|
||||
else
|
||||
tmpdir=$(mktemp -d)
|
||||
fi
|
||||
curl -o "${tmpdir}/gradle.zip" --silent --fail --show-error --location "${URL}"
|
||||
gradle_zip="${tmpdir}/gradle.zip"
|
||||
curl -o "${tmpdir}/gradle-$1-bin.zip" --silent --fail --show-error --location "${URL}"
|
||||
gradle_zip="${tmpdir}/gradle-$1-bin.zip"
|
||||
fi
|
||||
echo "${shasum} ${gradle_zip}" | sha256sum -c -
|
||||
if [ $? != 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user