cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject android commit: CB-8898 Report expected gradle location properly
Date Wed, 03 Jun 2015 19:00:28 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master b5d8b5131 -> 096e1e3ca


CB-8898 Report expected gradle location properly


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

Branch: refs/heads/master
Commit: 096e1e3caa5a0ece53f39ad1c0cf10b45a0b9f52
Parents: b5d8b51
Author: Vladimir Kotikov <an-selm@ya.ru>
Authored: Wed Jun 3 21:57:50 2015 +0300
Committer: Vladimir Kotikov <an-selm@ya.ru>
Committed: Wed Jun 3 21:57:50 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/096e1e3c/bin/lib/check_reqs.js
----------------------------------------------------------------------
diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js
index fd0aa88..5ddf4b4 100644
--- a/bin/lib/check_reqs.js
+++ b/bin/lib/check_reqs.js
@@ -86,7 +86,7 @@ module.exports.check_gradle = function() {
     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' +
-            'Looked here: ' + path.basename(wrapper))
+            'Looked here: ' + path.dirname(wrapper))
     .then(function (output) {
         // Parse Gradle version from command output
         return/^gradle ((?:\d+\.)+(?:\d+))/gim.exec(output)[1];


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


Mime
View raw message