aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-07-22 14:27:07 -0600
committerOndřej Čertík <ondrej@certik.us>2020-07-22 15:29:58 -0600
commit2cf6e82775f45241e658bbcb098175033e58b6ef (patch)
tree3d8968e86fd3c4f372350720fa1e8cf742e86131
parent0a978d6b694e90d2a218d6e1dc210a427a6a865c (diff)
downloadfpm-2cf6e82775f45241e658bbcb098175033e58b6ef.tar.gz
fpm-2cf6e82775f45241e658bbcb098175033e58b6ef.zip
Try to get Windows working
-rw-r--r--fpm/src/fpm.f903
1 files changed, 1 insertions, 2 deletions
diff --git a/fpm/src/fpm.f90 b/fpm/src/fpm.f90
index eb30741..bd1a70e 100644
--- a/fpm/src/fpm.f90
+++ b/fpm/src/fpm.f90
@@ -89,8 +89,7 @@ select case (get_os_type())
case (OS_MACOS)
call execute_command_line("ls " // dir // " > fpm_ls.out", exitstat=stat)
case (OS_WINDOWS)
- print *, "Windows not supported yet"
- error stop
+ call execute_command_line("dir /b " // dir // " > fpm_ls.out", exitstat=stat)
end select
if (stat /= 0) then
print *, "execute_command_line() failed"