aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit-repository2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-repository b/init-repository
index 842af7d1..52efb201 100755
--- a/init-repository
+++ b/init-repository
@@ -522,7 +522,7 @@ sub git_clone_one_submodule
$self->exe('git', 'config', 'remote.origin.url', $url);
}
- my $template = getcwd()."/../.commit-template";
+ my $template = $orig_cwd."/.commit-template";
if (-e $template) {
$self->exe('git', 'config', 'commit.template', $template);
}