Browse Source

fix `-nt` usage

frantzmiccoli 10 years ago
parent
commit
9c11202fde
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/phing/phing.plugin.zsh

+ 1 - 1
plugins/phing/phing.plugin.zsh

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