On 08/05/2011 07:58 AM, Thien-Thi Nguyen wrote:
() Bruce Korb<[email protected]> () Fri, 05 Aug 2011 06:19:03 -07004 tmpd=`mktemp -d ${TMPDIR:-/tmp}/err-names-XXXXXX` IIRC, constructs like: ${TMPDIR:-/tmp} can be made more portable: ${TMPDIR-/tmp} by removing the colon before the dash.
Not true. Use of : is portable to all shells that support functions, which is pretty much every shell out there today (including Solaris /bin/sh). Autoconf has already proved this point.
-- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
