[chromium] Handle trailing backslash on %VSINSTALLDIR%
authortony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2012 17:28:32 +0000 (17:28 +0000)
committertony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2012 17:28:32 +0000 (17:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90410

Reviewed by Ojan Vafai.

* Scripts/webkitdirs.pm:
(buildChromiumVisualStudioProject): Handle VSINSTALLDIR ending in a backslash, the backslash escapes the closing double quote.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@121785 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitdirs.pm

index dd3c42e..726c629 100644 (file)
@@ -1,3 +1,13 @@
+2012-07-03  Tony Chang  <tony@chromium.org>
+
+        [chromium] Handle trailing backslash on %VSINSTALLDIR%
+        https://bugs.webkit.org/show_bug.cgi?id=90410
+
+        Reviewed by Ojan Vafai.
+
+        * Scripts/webkitdirs.pm:
+        (buildChromiumVisualStudioProject): Handle VSINSTALLDIR ending in a backslash, the backslash escapes the closing double quote.
+
 2012-07-02  Ojan Vafai  <ojan@chromium.org>
 
         Make the skia_test_expectations.txt file optional.
index 3481e9a..ef0b927 100755 (executable)
@@ -2531,6 +2531,7 @@ sub buildChromiumVisualStudioProject($$)
     } else {
         $vsInstallDir = "$programFilesPath/Microsoft Visual Studio 8";
     }
+    $vsInstallDir =~ s,\\,/,g;
     $vsInstallDir = `cygpath "$vsInstallDir"` if isCygwin();
     chomp $vsInstallDir;
     $vcBuildPath = "$vsInstallDir/Common7/IDE/devenv.com";