aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinit current directory[i] <urbanjost@comcast.net>2020-10-11 05:25:45 -0400
committerinit current directory[i] <urbanjost@comcast.net>2020-10-11 05:25:45 -0400
commit79214e63fef965eeb03a5c38226aa55ea22315d9 (patch)
treea523a1b5628d2a3d15f7081ea24c11ebe730b531
parenta5162c09c6f6ff900ae1f23a9946c2e3b19c5e5c (diff)
downloadfpm-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.f902
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)