diff --git a/src/fpm/dependency.f90 b/src/fpm/dependency.f90 index 52e5c6ec12..9b614e0640 100644 --- a/src/fpm/dependency.f90 +++ b/src/fpm/dependency.f90 @@ -673,7 +673,7 @@ subroutine get_from_registry(self, target_dir, global_settings, error, downloade end if ! Include namespace and package name in the target url and download package data. - target_url = global_settings%registry_settings%url//'/packages/'//self%namespace//'/'//self%name + target_url = global_settings%registry_settings%url//'packages/'//self%namespace//'/'//self%name call downloader%get_pkg_data(target_url, self%requested_version, tmp_file, json, error) close (unit, status='delete') if (allocated(error)) return