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

Baptiste Daroussin bapt at FreeBSD.org
Sat Oct 24 18:08:02 UTC 2015


On Sat, Oct 24, 2015 at 05:20:12PM +0000, Alexey Dokuchaev wrote:
> 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
> 

Nice trick for sure, but not really cross building friendly :(

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20151024/5ac6ed6e/attachment.bin>


More information about the svn-ports-all mailing list