diff options
author | Jan Arve Saether <jan-arve.saether@digia.com> | 2012-12-07 15:42:48 +0100 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@digia.com> | 2012-12-07 17:14:36 +0100 |
commit | 92bcd67be5494ea70e04265533394bdf3c838ac3 (patch) | |
tree | f4f8e81e69b9a9bf5ca9702b46bc1d28e79300ae /bin/qt5_tool | |
parent | 08048c5bee4246b163f88b24c362577399507c0b (diff) | |
download | qtrepotools-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-x | bin/qt5_tool | 1 |
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) { |