From b5d8b51310c8512556d02fc43ae2ad393e60c123 Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Wed, 3 Jun 2015 12:37:25 +0300 Subject: [PATCH] CB-8898 Fixes gradle check failure due to missing quotes --- bin/lib/check_reqs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js index 46c3213f..fd0aa88f 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