Browse code

Revert "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"

This reverts commit 83907294d640d910968cf9152d11c6a5ab3205f5.

Robby Russell authored on 08/11/2009 at 23:24:20
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 -c "%n" .rake_tasks~)
5
-    changed=$(stat -c "%n" Rakefile)
4
+    accurate=$(stat -f%m .rake_tasks~)
5
+    changed=$(stat -f%m Rakefile)
6 6
     return $(expr $accurate '>=' $changed)
7 7
   fi
8 8
 }