You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/11/27 23:27:26 UTC
[27/51] [abbrv] git commit: CB-5321 Windows8 custom_path is not
correctly resolved by CLI
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/fireos
Commit: 803cc0abf67cbef51dfd1ec8bcba7dc541ab0b4e
Parents: d7fde3f
Author: sgrebnov <se...@gmail.com>
Authored: Fri Nov 8 20:42:23 2013 +0400
Committer: sgrebnov <se...@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();