aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-11-22 15:56:31 +0000
committerLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-11-22 15:56:31 +0000
commit22ec97aceb5239f2b24e58ab05f41e6e9e4abf35 (patch)
tree8fb0b7433409d4427982ba78bbe4173e989d192b
parentcc8a92006cdb1be73457734f354a4abff5167555 (diff)
downloadfpm-22ec97aceb5239f2b24e58ab05f41e6e9e4abf35.tar.gz
fpm-22ec97aceb5239f2b24e58ab05f41e6e9e4abf35.zip
Fix: os_is_unix function
-rw-r--r--src/fpm_environment.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fpm_environment.f90 b/src/fpm_environment.f90
index a9f8c65..bcd9cb9 100644
--- a/src/fpm_environment.f90
+++ b/src/fpm_environment.f90
@@ -154,7 +154,7 @@ contains
else
build_os = get_os_type()
end if
- unix = os /= OS_WINDOWS
+ unix = build_os /= OS_WINDOWS
end function os_is_unix
!> echo command string and pass it to the system for execution