Backwards logic in newer check.

Regen .ant_targets only if it's newer than build.xml? Yeah, that seems wrong.
This commit is contained in:
Chris Peterson 2014-11-17 20:38:22 -08:00
parent 550ccca91c
commit 7f636ba590

View file

@ -1,6 +1,6 @@
_ant_does_target_list_need_generating () { _ant_does_target_list_need_generating () {
[ ! -f .ant_targets ] && return 0; [ ! -f .ant_targets ] && return 0;
[ .ant_targets -nt build.xml ] && return 0; [ build.xml -nt .ant_targets ] && return 0;
return 1; return 1;
} }