From 9d16e5d7292109efb036697224c08faf28de2d2c Mon Sep 17 00:00:00 2001 From: "init current directory[i]" Date: Sun, 11 Oct 2020 05:25:45 -0400 Subject: change cd NEWNAME;git init to cd NEWNAME &&git init per @LKedward --- fpm/src/fpm/cmd/new.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3