... | ... |
@@ -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 |
} |