mktemp + tempfile wrapper instead of lfs-utils

Tushar Teredesai tushar at
Fri Jun 6 21:59:23 PDT 2003

Tushar Teredesai wrote:

> Sometime back 
> <> 
> I had proposed using the official mktemp package and
>   1. either patch scripts that use tempfile (/usr/bin/updatedb,
>      /usr/bin/bzdiff, /usr/bin/bzcmp) to use mktemp, OR
>   2. create a wrapper tempfile script that will invoke mktemp with the
>      proper options.
> Attaching a script for Option 2 above. Please note that the script is 
> not heavily tested and may not be the most optimal. So would 
> appreciate feedback. Probably will submit the script to mktemp 
> maintainer if he would like to include it in the mktemp tarball.
> The advantage of using mktemp from is that it is a 
> maintained version (the last update was April 2003); the version is 
> lfs-utils is just a copy of debianutils, so will need to be synced 
> manually each time debianutils is updated.

Attached is a new script with some of the fixes suggested by Richard.

Tushar Teredesai

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tempfile
URL: <>

More information about the lfs-dev mailing list