You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/10/02 00:33:01 UTC

git commit: dupe case-insensitive change for wp7

Updated Branches:
  refs/heads/3.1.x e56c0247c -> 0b539a85b
Updated Tags:  refs/tags/3.1.0 e56c0247c -> 0b539a85b


dupe case-insensitive change for wp7


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/0b539a85
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/0b539a85
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/0b539a85

Branch: refs/heads/3.1.x
Commit: 0b539a85bd390f78f9bb95f57c8536bed84dd726
Parents: e56c024
Author: purplecabbage <pu...@gmail.com>
Authored: Tue Oct 1 15:31:31 2013 -0700
Committer: purplecabbage <pu...@gmail.com>
Committed: Tue Oct 1 15:31:31 2013 -0700

----------------------------------------------------------------------
 wp7/bin/check_reqs.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0b539a85/wp7/bin/check_reqs.js
----------------------------------------------------------------------
diff --git a/wp7/bin/check_reqs.js b/wp7/bin/check_reqs.js
index b483841..3c59e35 100644
--- a/wp7/bin/check_reqs.js
+++ b/wp7/bin/check_reqs.js
@@ -53,7 +53,7 @@ function check_command(cmd, fail_msg) {
         WScript.Sleep(100);
     }
 
-    //Check that command executed 
+    //Check that command executed
     if (!out.StdErr.AtEndOfStream) {
         var line = out.StdErr.ReadLine();
         Log(fail_msg, true);
@@ -80,7 +80,7 @@ function SystemRequiermentsMet() {
     var cmd = 'msbuild -version'
     var fail_msg = 'The command `msbuild` failed. Make sure you have the latest Windows Phone SDKs installed, AND have the latest .NET framework added to your path (i.e C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319).'
     var output = check_command(cmd, fail_msg);
-    var msversion = output.match(/\.NET\sFramework\,\sversion\s4\.0/);
+    var msversion = output.match(/\.NET\sFramework\,\sversion\s4\.0/i);
     if (!msversion) {
         Log('Please install the .NET Framwork v4.0.30319 (in the latest windows phone SDK\'s).', true);
         Log('Make sure the "msbuild" command in your path is pointing to  v4.0.30319 of msbuild as well (inside C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319).', true);