svn commit: r400131 - in head/sysutils/uniutils: . files

Alexey Dokuchaev danfe at FreeBSD.org
Sat Oct 24 17:20:12 UTC 2015


On Sat, Oct 24, 2015 at 04:48:49PM +0000, Thierry Thomas wrote:
> New Revision: 400131
> URL: https://svnweb.freebsd.org/changeset/ports/400131
> 
> Log:
>   - Fix hard-coded endian assumption;
> [...]
> 
> ++[ $(( $(printf '\1' | od -dAn) )) -eq 1 ] && end=le || end=be

Nice trick! ;)

./danfe


More information about the svn-ports-all mailing list