diff options
author | Adam Lindberg <eproxus@gmail.com> | 2011-06-07 15:31:26 +0200 |
---|---|---|
committer | Adam Lindberg <eproxus@gmail.com> | 2011-06-07 15:31:26 +0200 |
commit | 86b8827d27a72471eed0e39f3681b4d533811082 (patch) | |
tree | cdd5b236aa57f0402e147c11fcc1bc8d3b136fe0 /plugins/ant/ant.plugin.zsh | |
parent | 70cb607b7bee04ceef74d6f7aa80589e009e4c78 (diff) | |
parent | ed990f61ff66a5c409ef2d8a444820cecf098188 (diff) | |
download | zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.gz zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.bz2 zsh-86b8827d27a72471eed0e39f3681b4d533811082.zip |
Merge remote-tracking branch 'robbyrussell/master'
Diffstat (limited to 'plugins/ant/ant.plugin.zsh')
-rw-r--r-- | plugins/ant/ant.plugin.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ant/ant.plugin.zsh b/plugins/ant/ant.plugin.zsh index 23bc7756a..691d4d2db 100644 --- a/plugins/ant/ant.plugin.zsh +++ b/plugins/ant/ant.plugin.zsh @@ -2,14 +2,14 @@ stat -f%m . > /dev/null 2>&1 if [ "$?" = 0 ]; then stat_cmd=(stat -f%m) else - stat_cmd=(stat -L --format=%y) + stat_cmd=(stat -L --format=%Y) fi _ant_does_target_list_need_generating () { if [ ! -f .ant_targets ]; then return 0; else - accurate=$($stat_cmd -f%m .ant_targets) - changed=$($stat_cmd -f%m build.xml) + accurate=$($stat_cmd .ant_targets) + changed=$($stat_cmd build.xml) return $(expr $accurate '>=' $changed) fi } |