Commit 286559d1 authored by Robby Russell's avatar Robby Russell
Browse files

Revert "Fixed issue #19 'Rake not auto completing'. The stat command syntax...

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 83907294.
parent 97c66649
_rake_does_task_list_need_generating () { _rake_does_task_list_need_generating () {
if [ ! -f .rake_tasks~ ]; then return 0; if [ ! -f .rake_tasks~ ]; then return 0;
else else
accurate=$(stat -c "%n" .rake_tasks~) accurate=$(stat -f%m .rake_tasks~)
changed=$(stat -c "%n" Rakefile) changed=$(stat -f%m Rakefile)
return $(expr $accurate '>=' $changed) return $(expr $accurate '>=' $changed)
fi fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment