Skip to content

Commit beeb481

Browse files
authored
List names without suffix (mainly for Windows). (#595)
1 parent d314aed commit beeb481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fpm.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ subroutine compact_list_all()
474474
if (exe_source%unit_scope == run_scope) then
475475

476476
write(stderr,'(A)',advance=(merge("yes","no ",modulo(j,nCol)==0))) &
477-
& [character(len=col_width) :: basename(exe_target%output_file)]
477+
& [character(len=col_width) :: basename(exe_target%output_file, suffix=.false.)]
478478
j = j + 1
479479

480480
end if
@@ -491,7 +491,7 @@ subroutine compact_list()
491491
write(stderr,*) 'Matched names:'
492492
do i=1,size(executables)
493493
write(stderr,'(A)',advance=(merge("yes","no ",modulo(j,nCol)==0))) &
494-
& [character(len=col_width) :: basename(executables(i)%s)]
494+
& [character(len=col_width) :: basename(executables(i)%s, suffix=.false.)]
495495
j = j + 1
496496
enddo
497497
write(stderr,*)

0 commit comments

Comments
 (0)