summarylogtreecommitdiffstats
path: root/upgrade.sh
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.sh')
-rwxr-xr-xupgrade.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.sh b/upgrade.sh
index 7428d22eb5a2..7b7ac4ba4488 100755
--- a/upgrade.sh
+++ b/upgrade.sh
@@ -28,7 +28,7 @@ if ! wget "$url"; then
fi
# get checksum
-checksum=$(sha256sum sqlite-autoconf-*.tar.gz | cut -f1 -d ' ')
+checksum=$(sha256sum "sqlite-autoconf-${url_version}.tar.gz" | cut -f1 -d ' ')
if [ -z "$checksum" ]; then
echo "Bad sha256sum!"
exit 1