aboutsummaryrefslogtreecommitdiff
path: root/src/fpm_environment.f90
diff options
context:
space:
mode:
Diffstat (limited to 'src/fpm_environment.f90')
-rw-r--r--src/fpm_environment.f902
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fpm_environment.f90 b/src/fpm_environment.f90
index ef0177f..a3c073f 100644
--- a/src/fpm_environment.f90
+++ b/src/fpm_environment.f90
@@ -217,6 +217,8 @@ contains
elseif(ilength.gt.0)then
if(index(arg//' ','-').ne.1)then
args=args//quote//arg//quote//' '
+ elseif(index(arg,' ').ne.0)then
+ args=args//quote//arg//quote//' '
else
args=args//arg//' '
endif