keplerproject/luarocks — pull request #72 by comotion (2012-05-09 19:57:05+00:00)
Title: stat takes %Sp not %A on FreeBSD

on my FreeBSD 9.0-RELEASE, installing any rock results in 1000s of the following error message:

stat: %A: bad format

This tiny patch fixes the issue by using the correct %Sp format on FreeBSD.
A quick google for man pages indicates this should work correctly on other BSD flavors too.