From 92bcd67be5494ea70e04265533394bdf3c838ac3 Mon Sep 17 00:00:00 2001 From: Jan Arve Saether <jan-arve.saether@digia.com> Date: Fri, 7 Dec 2012 15:42:48 +0100 Subject: [PATCH] Ensure paths in the post-commit hook don't have backslashes Change-Id: I6f3eacc4064dbb2a815508f7445441153ebcd82d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> --- bin/qt5_tool | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/qt5_tool b/bin/qt5_tool index ab236dc..55409f5 100755 --- a/bin/qt5_tool +++ b/bin/qt5_tool @@ -783,6 +783,7 @@ if (defined $optGitHooks) { if ($os == $OS_WINDOWS) { # rewrite from "C:/Users/qt" to "/C/Users/qt" so that msysgit understand $postcommitpath =~ s,([A-Za-z]):,/$1,; + $postcommitpath =~ s,\\,/,g; } print "Installing post-commit hooks\n"; foreach my $MOD (@MODULES) { -- GitLab