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 commit is contained in:
Sean McCleary committed 2009-10-23 11:59:24 -07:00
1 parent c03aab5164
commit 83907294d6
1 file changed
+2 -2
+2 -2
View File
@@ -1,8 +1,8 @@
_rake_does_task_list_need_generating () {
if [ ! -f .rake_tasks~ ]; then return 0;
else
accurate=$(stat -f%m .rake_tasks~)
changed=$(stat -f%m Rakefile)
accurate=$(stat -c "%n" .rake_tasks~)
changed=$(stat -c "%n" Rakefile)
return $(expr $accurate '>=' $changed)
fi
}