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

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