You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/01/24 18:44:52 UTC

git commit: CB-5891 Fix engine check when path has spaces.

Updated Branches:
  refs/heads/master 1cd1dc242 -> d411add30


CB-5891 Fix engine check when path has spaces.


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

Branch: refs/heads/master
Commit: d411add30f3f7c47ca3906859d8e6a93c43d59ea
Parents: 1cd1dc2
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 24 12:44:06 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Jan 24 12:44:41 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d411add3/src/install.js
----------------------------------------------------------------------
diff --git a/src/install.js b/src/install.js
index 520fb7d..bac0ee0 100644
--- a/src/install.js
+++ b/src/install.js
@@ -122,7 +122,7 @@ function callEngineScripts(engines) {
                     fs.chmodSync(engine.scriptSrc, '755');
                 }
                 var d = Q.defer();
-                child_process.exec(engine.scriptSrc, function(error, stdout, stderr) {
+                child_process.exec('"' + engine.scriptSrc + '"', function(error, stdout, stderr) {
                     if (error) {
                         require('../plugman').emit('log', 'Cordova project '+ engine.scriptSrc +' script failed, continuing anyways.');
                         engine.currentVersion = null;