Browse code

Fixed issue #19 'Rake not auto completing'. The stat command syntax that was being used was not correct. Or at least on my machine. See man page for the stat command

Sean McCleary authored on 23/10/2009 at 18:59: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
 }