diff options
-rw-r--r-- | fpm/src/fpm.f90 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fpm/src/fpm.f90 b/fpm/src/fpm.f90 index 846082f..bf99641 100644 --- a/fpm/src/fpm.f90 +++ b/fpm/src/fpm.f90 @@ -90,8 +90,10 @@ select case (get_os_type()) error stop end select if (stat /= 0) then - print *, "execute_command_line() failed" - error stop + print *, "execute_command_line() failed, but continuing" + ! Not erroring out here, as sometimes the `dir` might not exist + allocate(files(0)) + return end if open(newunit=u, file="fpm_ls.out", status="old") allocate(files(number_of_rows(u))) |