Skip to content

Commit 1342b6a

Browse files
authored
Merge pull request #584 from awvwgk/env-bug
Actually read environment variables
2 parents f9464aa + ba4107d commit 1342b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm_command_line.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ function get_fpm_env(env, default) result(val)
12211221

12221222
character(len=*), parameter :: fpm_prefix = "FPM_"
12231223

1224-
val = get_env(fpm_prefix//val, default)
1224+
val = get_env(fpm_prefix//env, default)
12251225
end function get_fpm_env
12261226

12271227
end module fpm_command_line

0 commit comments

Comments
 (0)