7f636ba5901b1abe9bb01d94b9e290bed982a873
- Author
- Chris Peterson <cpeterson@financialforce.com>
- Committer
- Chris Peterson <cpeterson@financialforce.com>
- Date
Message
Backwards logic in newer check.
Regen .ant_targets only if it's newer than build.xml? Yeah, that seems wrong.
Diff
1diff --git a/plugins/ant/ant.plugin.zsh b/plugins/ant/ant.plugin.zsh
2index 45f2b06eb600511408934471ca4320f2497ab218..38d13f2a8e6b5b674460e7ade47d3b41a8a7de72 100644
3--- a/plugins/ant/ant.plugin.zsh
4+++ b/plugins/ant/ant.plugin.zsh
5@@ -1,6 +1,6 @@
6 _ant_does_target_list_need_generating () {
7 [ ! -f .ant_targets ] && return 0;
8- [ .ant_targets -nt build.xml ] && return 0;
9+ [ build.xml -nt .ant_targets ] && return 0;
10 return 1;
11 }
12