Fix the 'git log' call in VCSUtils.pm for Windows

https://bugs.webkit.org/show_bug.cgi?id=94113

Patch by Kevin Funk <kevin.funk@kdab.com> on 2012-08-15
Reviewed by Kenneth Rohde Christiansen.

Failed because of invalid enquoting characters.

* Scripts/VCSUtils.pm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f5b7edb8
2012-08-15 Kevin Funk <kevin.funk@kdab.com>
Fix the 'git log' call in VCSUtils.pm for Windows
https://bugs.webkit.org/show_bug.cgi?id=94113
Reviewed by Kenneth Rohde Christiansen.
Failed because of invalid enquoting characters.
* Scripts/VCSUtils.pm:
2012-08-14 Gustavo Noronha Silva <gns@gnome.org>
[jhbuild] move md5sum checking to update-webkit-libs-jhbuild
......
......@@ -383,7 +383,7 @@ sub svnRevisionForDirectory($)
my $svnInfo = `$command`;
($revision) = ($svnInfo =~ m/Revision: (\d+).*/g);
} elsif (isGitDirectory($dir)) {
my $command = "git log --grep='git-svn-id: ' -n 1 | grep git-svn-id:";
my $command = "git log --grep=\"git-svn-id: \" -n 1 | grep git-svn-id:";
$command = "LC_ALL=C $command" if !isWindows();
$command = "cd $dir && $command";
my $gitLog = `$command`;
......
Markdown is supported
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