wrong url fixed and rebuild everything

This commit is contained in:
2023-07-17 13:19:51 +02:00
parent a06303bf58
commit f4366d36c0
2 changed files with 12 additions and 6 deletions

View File

@@ -1,6 +1,10 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://github.com/google/googletest/archive/release-1.8.1.tar.gz"
if (( V_MAJOR == 1 )) && (( V_MINOR <= 12 )); then
pbuild::set_download_url "https://github.com/google/googletest/archive/refs/tags/release-${V_PKG}.tar.gz"
else
pbuild::set_download_url "https://github.com/google/googletest/archive/refs/tags/v${V_PKG}.tar.gz"
fi
pbuild::add_to_group 'Compiler'
if (( V_MAJOR == 1 )) && (( V_MINOR <= 7 )); then