You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2015/06/03 11:42:59 UTC

android commit: CB-8898 Fixes gradle check failure due to missing quotes

Repository: cordova-android
Updated Branches:
  refs/heads/master c9e720105 -> b5d8b5131


CB-8898 Fixes gradle check failure due to missing quotes


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

Branch: refs/heads/master
Commit: b5d8b51310c8512556d02fc43ae2ad393e60c123
Parents: c9e7201
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Wed Jun 3 12:37:25 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Wed Jun 3 12:37:25 2015 +0300

----------------------------------------------------------------------
 bin/lib/check_reqs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/b5d8b513/bin/lib/check_reqs.js
----------------------------------------------------------------------
diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js
index 46c3213..fd0aa88 100644
--- a/bin/lib/check_reqs.js
+++ b/bin/lib/check_reqs.js
@@ -85,7 +85,7 @@ module.exports.check_gradle = function() {
     var message = 'Could not find gradle wrapper within Android SDK. ';
     if (!sdkDir) return Q.reject(message + 'Might need to install Android SDK or set up \'ADROID_HOME\' env variable.');
     var wrapper = path.join(sdkDir, 'tools', 'templates', 'gradle', 'wrapper', 'gradlew');
-    return tryCommand(wrapper + ' -v', message + 'Might need to update your Android SDK.\n' +
+    return tryCommand('"' + wrapper + '" -v', message + 'Might need to update your Android SDK.\n' +
             'Looked here: ' + path.basename(wrapper))
     .then(function (output) {
         // Parse Gradle version from command output


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