diff options
author | init current directory[i] <urbanjost@comcast.net> | 2020-10-11 05:25:45 -0400 |
---|---|---|
committer | init current directory[i] <urbanjost@comcast.net> | 2020-10-11 05:25:45 -0400 |
commit | 79214e63fef965eeb03a5c38226aa55ea22315d9 (patch) | |
tree | a523a1b5628d2a3d15f7081ea24c11ebe730b531 | |
parent | a5162c09c6f6ff900ae1f23a9946c2e3b19c5e5c (diff) | |
download | fpm-79214e63fef965eeb03a5c38226aa55ea22315d9.tar.gz fpm-79214e63fef965eeb03a5c38226aa55ea22315d9.zip |
change cd NEWNAME;git init to cd NEWNAME &&git init per @LKedward
-rw-r--r-- | fpm/src/fpm/cmd/new.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpm/src/fpm/cmd/new.f90 b/fpm/src/fpm/cmd/new.f90 index ce00357..dce13bc 100644 --- a/fpm/src/fpm/cmd/new.f90 +++ b/fpm/src/fpm/cmd/new.f90 @@ -118,7 +118,7 @@ character(len=:),allocatable :: littlefile(:) endif call warnwrite(join_path(settings%name, 'fpm.toml'), message) ! now that built it write NAME/fpm.toml - call run('cd ' // settings%name // ';git init') ! assumes these commands work on all systems and git(1) is installed + call run('cd ' // settings%name // '&&git init') ! assumes these commands work on all systems and git(1) is installed contains subroutine warnwrite(fname,data) |