cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [12/16] git commit: CB-5321 Windows8 custom_path is not correctly resolved by CLI
Date Tue, 26 Nov 2013 02:02:24 GMT
CB-5321 Windows8 custom_path is not correctly resolved by CLI


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/803cc0ab
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/803cc0ab
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/803cc0ab

Branch: refs/heads/master
Commit: 803cc0abf67cbef51dfd1ec8bcba7dc541ab0b4e
Parents: d7fde3f
Author: sgrebnov <sergei.grebnov@gmail.com>
Authored: Fri Nov 8 20:42:23 2013 +0400
Committer: sgrebnov <sergei.grebnov@gmail.com>
Committed: Mon Nov 25 13:03:52 2013 +0400

----------------------------------------------------------------------
 src/metadata/windows8_parser.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/803cc0ab/src/metadata/windows8_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/windows8_parser.js b/src/metadata/windows8_parser.js
index dbddf30..6fe420b 100644
--- a/src/metadata/windows8_parser.js
+++ b/src/metadata/windows8_parser.js
@@ -52,7 +52,9 @@ module.exports.check_requirements = function(project_root) {
                     require('../../platforms').windows8.version, 'windows8');
 
     var custom_path = config.has_custom_path(project_root, 'windows8');
-    if (custom_path) lib_path = custom_path;
+    if (custom_path) {
+        lib_path = path.join(custom_path, "windows8");
+    }
     var command = '"' + path.join(lib_path, 'bin', 'check_reqs') + '"';
     events.emit('verbose', 'Running "' + command + '" (output to follow)');
     var d = Q.defer();


Mime
View raw message