1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-13 09:20:09 +00:00

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 () { _gradle_does_task_list_need_generating () {
[ ! -f .gradletasknamecache ] && return 0; [ ! -f .gradletasknamecache ] && return 0;
[ .gradletasknamecache -nt build.gradle ] && return 0; [ build.gradle -nt .gradletasknamecache ] && return 0;
return 1; return 1;
} }