You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by za...@apache.org on 2014/12/15 14:33:24 UTC

[35/37] cordova-ubuntu git commit: fix warning message about missing chroot

fix warning message about missing chroot


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

Branch: refs/heads/master
Commit: 5a1db3299d718c43e4c34ca0edb3f546dc4ad74a
Parents: bbcd1e3
Author: Maxim Ermilov <ma...@canonical.com>
Authored: Wed Dec 10 21:54:45 2014 +0300
Committer: Maxim Ermilov <ma...@canonical.com>
Committed: Wed Dec 10 21:54:45 2014 +0300

----------------------------------------------------------------------
 bin/templates/project/cordova/lib/build.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/5a1db329/bin/templates/project/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/build.js b/bin/templates/project/cordova/lib/build.js
index 34f3df3..e0fd4c6 100644
--- a/bin/templates/project/cordova/lib/build.js
+++ b/bin/templates/project/cordova/lib/build.js
@@ -323,7 +323,7 @@ function checkChrootEnv(ubuntuDir, architecture, framework) {
     deps = deps.replace(/ARCH/g, architecture);
 
     var cmd = "click chroot -a " + architecture + " -f " + framework + " run dpkg-query -Wf'${db:Status-abbrev}' " + deps;
-    var res = Utils.execSync(cmd);
+    var res = shell.exec(cmd);
     if (res.code !== 0 || res.output.indexOf('un') !== -1) {
         logger.error("Error: missing " + architecture + " chroot");
         logger.error("run:\nsudo click chroot -a " + architecture + " -f " + framework + " create");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org