cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: CB-5891 Fix engine check when path has spaces.
Date Fri, 24 Jan 2014 17:44:52 GMT
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 <agrieve@chromium.org>
Authored: Fri Jan 24 12:44:06 2014 -0500
Committer: Andrew Grieve <agrieve@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;


Mime
View raw message