From 2f087e4195a1f129309357b722fa5f0c383e226e Mon Sep 17 00:00:00 2001 From: xumia Date: Mon, 11 Jan 2021 12:47:49 +0000 Subject: [PATCH] Fix web package md5 hash not correct issue --- src/sonic-build-hooks/scripts/buildinfo_base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-build-hooks/scripts/buildinfo_base.sh b/src/sonic-build-hooks/scripts/buildinfo_base.sh index d19558c544e3..177aea7b08ac 100755 --- a/src/sonic-build-hooks/scripts/buildinfo_base.sh +++ b/src/sonic-build-hooks/scripts/buildinfo_base.sh @@ -41,7 +41,7 @@ check_version_control() get_url_version() { local package_url=$1 - /usr/bin/curl -ks $package_url | md5sum | cut -d' ' -f1 + /usr/bin/curl -Lks $package_url | md5sum | cut -d' ' -f1 } check_if_url_exist()