Skip to content

Commit

Permalink
fix possible future bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonMiraj authored Mar 11, 2024
1 parent f54f5cb commit 1fc35f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fpm.f90
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,8 @@ subroutine cmd_run(settings,test)

do j=1,size(settings%name)

if (glob(trim(exe_source%exe_name),trim(settings%name(j)))) then
if (glob(trim(exe_source%exe_name),trim(settings%name(j))) .and. .not.found(j)) then


found(j) = .true.
exe_cmd%s = exe_target%output_file
Expand Down

0 comments on commit 1fc35f9

Please sign in to comment.