Skip to content

Commit 77c27e7

Browse files
committed
return fpm.toml to using basename
1 parent 5ca6661 commit 77c27e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fpm/src/fpm/cmd/new.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ subroutine cmd_new(settings)
146146
&' # to aid others when searching for the project in a repository and to ',&
147147
&' # identify how and when to contact the package supporters. ',&
148148
&' ',&
149-
&'name = "'//settings%name//'"',&
149+
&'name = "'//bname//'"',&
150150
&' # The project name (required) is how the project will be referred to. ',&
151151
&' # The name is used by other packages using it as a dependency. It also ',&
152152
&' # is used as the default name of any library built and the optional ',&
@@ -435,7 +435,7 @@ subroutine cmd_new(settings)
435435
&' # include the module in your program source file or directory as well. ',&
436436
&' ',&
437437
&'[[executable]] ',&
438-
&'name="'//settings%name//'"',&
438+
&'name="'//bname//'"',&
439439
&'source-dir="app" ',&
440440
&'main="main.f90" ',&
441441
&' ',&

0 commit comments

Comments
 (0)