From owner-svn-ports-all@freebsd.org Sat Oct 24 17:20:12 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BB60A1E4B9; Sat, 24 Oct 2015 17:20:12 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8B72C6C8; Sat, 24 Oct 2015 17:20:12 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 899C014E9; Sat, 24 Oct 2015 17:20:12 +0000 (UTC) Date: Sat, 24 Oct 2015 17:20:12 +0000 From: Alexey Dokuchaev To: Thierry Thomas Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r400131 - in head/sysutils/uniutils: . files Message-ID: <20151024172012.GA52037@FreeBSD.org> References: <201510241648.t9OGmnYG090145@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201510241648.t9OGmnYG090145@repo.freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2015 17:20:12 -0000 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