diff --git a/src/fastnetmon_build.pl b/src/fastnetmon_build.pl index c2587b9b..2569561e 100755 --- a/src/fastnetmon_build.pl +++ b/src/fastnetmon_build.pl @@ -519,7 +519,7 @@ sub install_json_c { print "Download archive\n"; - my $json_c_download_result = download_file("https://github.com/json-c/json-c/archive/$archive_name", + my $json_c_download_result = download_file("https://github.com/json-c/json-c/archive/refs/tags/$archive_name", $archive_name, '6fc7fdd11eadd5a05e882df11bb4998219615de2'); @@ -890,7 +890,7 @@ sub install_hiredis { chdir $temp_folder_for_building_project; print "Download hiredis\n"; - my $hiredis_download_result = download_file("https://github.com/redis/hiredis/archive/$disto_file_name", + my $hiredis_download_result = download_file("https://github.com/redis/hiredis/archive/refs/tags/$disto_file_name", $disto_file_name, '737c4ed101096c5ec47fcaeba847664352d16204'); unless ($hiredis_download_result) {