> On Jul 10, 2016, at 8:33 PM, Andrew Oates <[email protected]> wrote:
> 
> --tmpdir unfortunately doesn't work on OS X/BSD-style mktemp, but '-t' does.  
> So "mktemp -t tmp.XXXXXXXXXX" obeys TMPDIR on both Linux and OS X.  "-t" is 
> marked as deprecated in the Linux version's manpage, however --- not sure if 
> you consider that a problem.
> 
> Alternatively, it could just run "mktemp tmp.XXXXXXXXXX", which creates the 
> temporary file in the current directory on both systems.  Not ideal, but 
> consistent (and maybe that's fine given how the script is used in the build 
> system?)
> 
The local directory may not be writeable
Brad

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to