From 5143d1968f8299673c6712dc0074f1e40db16361 Mon Sep 17 00:00:00 2001 From: Andre Smit Date: Thu, 20 Jan 2022 12:06:09 -0600 Subject: Update src/fpm/cmd/new.f90 Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> --- src/fpm/cmd/new.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3