PolyGerrit: Fix git clone commands for copying commit-msg hook in projects

Bug: Issue 6522
Change-Id: I88579d11aaa26cf90131b9acd1678ba5141a580e
This commit is contained in:
Paladox none
2017-06-17 17:45:14 +00:00
parent bb47d19f36
commit dc88318492

View File

@@ -236,7 +236,8 @@
title,
command: commandObj[title]
.replace('${project}', project)
.replace('${project-base-name}', project),
.replace('${project-base-name}',
project.substring(project.lastIndexOf('/') + 1)),
});
}
return commands;