cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zasp...@apache.org
Subject [35/37] cordova-ubuntu git commit: fix warning message about missing chroot
Date Mon, 15 Dec 2014 13:33:24 GMT
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 <maxim.ermilov@canonical.com>
Authored: Wed Dec 10 21:54:45 2014 +0300
Committer: Maxim Ermilov <maxim.ermilov@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


Mime
View raw message