aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinit current directory[i] <urbanjost@comcast.net>2020-10-11 05:25:45 -0400
committerLKedward <laurence.kedward@bristol.ac.uk>2020-10-12 11:48:38 +0100
commit9d16e5d7292109efb036697224c08faf28de2d2c (patch)
tree023e99c07b2c08fd9d4301fb82e5b18708a1f96d
parent14db0715c4bc7a03f806858e990d63a95827dd5a (diff)
downloadfpm-9d16e5d7292109efb036697224c08faf28de2d2c.tar.gz
fpm-9d16e5d7292109efb036697224c08faf28de2d2c.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 03d9ed4..fc4c93e 100644
--- a/fpm/src/fpm/cmd/new.f90
+++ b/fpm/src/fpm/cmd/new.f90
@@ -102,7 +102,7 @@ character(len=:),allocatable :: littlefile(:)
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)