Skip to content

Commit 1fc35f9

Browse files
authored
fix possible future bug
1 parent f54f5cb commit 1fc35f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fpm.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,8 @@ subroutine cmd_run(settings,test)
534534

535535
do j=1,size(settings%name)
536536

537-
if (glob(trim(exe_source%exe_name),trim(settings%name(j)))) then
537+
if (glob(trim(exe_source%exe_name),trim(settings%name(j))) .and. .not.found(j)) then
538+
538539

539540
found(j) = .true.
540541
exe_cmd%s = exe_target%output_file

0 commit comments

Comments
 (0)