summaryrefslogtreecommitdiff
path: root/bin/qt5_tool
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@digia.com>2012-12-07 15:42:48 +0100
committerJan Arve Sæther <jan-arve.saether@digia.com>2012-12-07 17:14:36 +0100
commit92bcd67be5494ea70e04265533394bdf3c838ac3 (patch)
treef4f8e81e69b9a9bf5ca9702b46bc1d28e79300ae /bin/qt5_tool
parent08048c5bee4246b163f88b24c362577399507c0b (diff)
downloadqtrepotools-92bcd67be5494ea70e04265533394bdf3c838ac3.tar.gz
Ensure paths in the post-commit hook don't have backslashes
Change-Id: I6f3eacc4064dbb2a815508f7445441153ebcd82d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'bin/qt5_tool')
-rwxr-xr-xbin/qt5_tool1
1 files changed, 1 insertions, 0 deletions
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) {