Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List names without suffix (mainly for Windows). #595

Merged
merged 1 commit into from Oct 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/fpm.f90
Expand Up @@ -474,7 +474,7 @@ subroutine compact_list_all()
if (exe_source%unit_scope == run_scope) then

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

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