diff --git a/src/sonic-build-hooks/scripts/buildinfo_base.sh b/src/sonic-build-hooks/scripts/buildinfo_base.sh index 94b767861467..ae85c2dcf129 100755 --- a/src/sonic-build-hooks/scripts/buildinfo_base.sh +++ b/src/sonic-build-hooks/scripts/buildinfo_base.sh @@ -46,7 +46,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()