Browse code

Merge branch 'master' of git://github.com/mrinterweb/oh-my-zsh into mrinterweb/master

Robby Russell authored on 26/10/2009 at 16:19:24
Showing 1 changed files
... ...
@@ -1,8 +1,8 @@
1 1
 _rake_does_task_list_need_generating () {
2 2
   if [ ! -f .rake_tasks~ ]; then return 0;
3 3
   else
4
-    accurate=$(stat -f%m .rake_tasks~)
5
-    changed=$(stat -f%m Rakefile)
4
+    accurate=$(stat -c "%n" .rake_tasks~)
5
+    changed=$(stat -c "%n" Rakefile)
6 6
     return $(expr $accurate '>=' $changed)
7 7
   fi
8 8
 }