Updated Branches:
  refs/heads/master 6036bc440 -> 893b172b3

[BlackBerry10] Fixed issue calling check_reqs script with space in path

Reviewed by Bryan Higgins <[email protected]>


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

Branch: refs/heads/master
Commit: 893b172b31151c8c3d36bca39ec93a1c67c595ea
Parents: 6036bc4
Author: James Keshavarzi <[email protected]>
Authored: Mon Aug 26 12:19:01 2013 -0400
Committer: Bryan Higgins <[email protected]>
Committed: Tue Aug 27 09:08:53 2013 -0400

----------------------------------------------------------------------
 src/metadata/blackberry10_parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/893b172b/src/metadata/blackberry10_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/blackberry10_parser.js 
b/src/metadata/blackberry10_parser.js
index 1d9f9d0..f4d617b 100644
--- a/src/metadata/blackberry10_parser.js
+++ b/src/metadata/blackberry10_parser.js
@@ -36,7 +36,7 @@ module.exports = function blackberry_parser(project) {
 
 module.exports.check_requirements = function(project_root, callback) {
     var lib_path = path.join(util.libDirectory, 'blackberry10', 'cordova', 
require('../../platforms').blackberry10.version);
-    shell.exec(path.join(lib_path, 'bin', 'check_reqs'), {silent:true, 
async:true}, function(code, output) {
+    shell.exec("\"" + path.join(lib_path, 'bin', 'check_reqs') + "\"", 
{silent:true, async:true}, function(code, output) {
         if (code !== 0) {
             callback(output);
         } else {

Reply via email to