aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Smit <freevryheid@gmail.com>2022-01-20 12:06:09 -0600
committerGitHub <noreply@github.com>2022-01-20 12:06:09 -0600
commit5143d1968f8299673c6712dc0074f1e40db16361 (patch)
tree8356b5e4325aa89946ce3f2bc8f2075ef39ca2b0
parentf2ceb1664d8b637e1390f94a73ce2f53797185f1 (diff)
downloadfpm-5143d1968f8299673c6712dc0074f1e40db16361.tar.gz
fpm-5143d1968f8299673c6712dc0074f1e40db16361.zip
Update src/fpm/cmd/new.f90
Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
-rw-r--r--src/fpm/cmd/new.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fpm/cmd/new.f90 b/src/fpm/cmd/new.f90
index d69f6f2..b00aa06 100644
--- a/src/fpm/cmd/new.f90
+++ b/src/fpm/cmd/new.f90
@@ -592,7 +592,7 @@ function git_user(what) result(user)
character(len=:), allocatable :: user
character(len=:), allocatable :: temp_user, iomsg
integer :: stat, unit
- allocate(temp_user, source=get_temp_filename())
+ temp_user = get_temp_filename()
if (what=="uname") then
user = "git config --get user.name > " // temp_user
else