Commit 92bcd67b authored by Jan Arve Saether's avatar Jan Arve Saether Committed by Jan Arve Sæther
Browse files

Ensure paths in the post-commit hook don't have backslashes


Change-Id: I6f3eacc4064dbb2a815508f7445441153ebcd82d
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 08048c5b
No related merge requests found
Showing with 1 addition and 0 deletions
...@@ -783,6 +783,7 @@ if (defined $optGitHooks) { ...@@ -783,6 +783,7 @@ if (defined $optGitHooks) {
if ($os == $OS_WINDOWS) { if ($os == $OS_WINDOWS) {
# rewrite from "C:/Users/qt" to "/C/Users/qt" so that msysgit understand # rewrite from "C:/Users/qt" to "/C/Users/qt" so that msysgit understand
$postcommitpath =~ s,([A-Za-z]):,/$1,; $postcommitpath =~ s,([A-Za-z]):,/$1,;
$postcommitpath =~ s,\\,/,g;
} }
print "Installing post-commit hooks\n"; print "Installing post-commit hooks\n";
foreach my $MOD (@MODULES) { foreach my $MOD (@MODULES) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment