浏览代码

Merge pull request #3419 from mcornella/fix-cake-target-cache

[Plugin: cake] switch newer-than logic to get the desired behavior
Robby Russell 9 年之前
父节点
当前提交
935f1914f9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/cake/cake.plugin.zsh

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

@@ -15,7 +15,7 @@ _cake_does_target_list_need_generating () {
 	fi
 
 	[ ! -f ${_cake_task_cache_file} ] && return 0;
-	[ ${_cake_task_cache_file} -nt Cakefile ] && return 0;
+	[ Cakefile -nt ${_cake_task_cache_file} ] && return 0;
 	return 1;
 }