Skip to content

Commit 5143d19

Browse files
freevryheidawvwgk
andauthored
Update src/fpm/cmd/new.f90
Co-authored-by: Sebastian Ehlert <[email protected]>
1 parent f2ceb16 commit 5143d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm/cmd/new.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ function git_user(what) result(user)
592592
character(len=:), allocatable :: user
593593
character(len=:), allocatable :: temp_user, iomsg
594594
integer :: stat, unit
595-
allocate(temp_user, source=get_temp_filename())
595+
temp_user = get_temp_filename()
596596
if (what=="uname") then
597597
user = "git config --get user.name > " // temp_user
598598
else

0 commit comments

Comments
 (0)