Skip to content

Commit 38ab28c

Browse files
committed
Reintrocude optional and print more info
1 parent 352c931 commit 38ab28c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/fpm/dependency.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ subroutine get_from_registry(self, target_dir, global_settings, error, downloade
514514
type(error_t), allocatable, intent(out) :: error
515515

516516
!> Downloader instance.
517-
class(downloader_t), intent(in) :: downloader
517+
class(downloader_t), optional, intent(in) :: downloader
518518

519519
character(:), allocatable :: cache_path, target_url, tmp_file, tmp_path
520520
type(version_t) :: version

src/fpm/downloader.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ subroutine unpack(tmp_file, destination, error)
8484
call fatal_error(error, "'tar' not installed."); return
8585
end if
8686

87+
print *, "Unpacking '"//tmp_file//"' to '"//destination//"' ..."
8788
call execute_command_line('tar -zxf '//tmp_file//' -C '//destination, exitstat=stat)
8889

8990
if (stat /= 0) then

0 commit comments

Comments
 (0)