Fix comparison used to determine if the cache is outdated.

This commit is contained in:
Doug Jones 2013-08-05 09:54:49 -04:00 committed by ncanceill
parent ac1a321abe
commit b1c97bc77e

View file

@ -60,7 +60,7 @@ function in_gradle() {
############################################################################
_gradle_does_task_list_need_generating () {
[ ! -f .gradletasknamecache ] && return 0;
[ .gradletasknamecache -nt build.gradle ] && return 0;
[ build.gradle -nt .gradletasknamecache ] && return 0;
return 1;
}