On Fri, Jun 17, 2005 at 04:10:28PM +0300, Elan Ruusamäe wrote:
> use mktemp? it's available in PLD
if type -p mktemp >/dev/null 2>/dev/null; then
  temp=`mktemp /var/tmp/$$.shar.XXXXXX` || exit 1
else
  temp=/var/tmp/$$.shar
  rm -f $temp*
fi

etc.. ;)
mktemp is already used. kloczek tok patch from debian, which used
tempfile and don't look, that there is no tempfile in pld.
and i wasted my time to seek tempfile in rpm-based distros ;)

-- 
Andrzej 'The Undefined' Dopierała
UNIX && Linux administrator,      Adam Mickiewicz University WMiI
PLD Linux Developer      HomePage: http://andrzej.dopierala.name/
JID: [EMAIL PROTECTED]         e-mail: [EMAIL PROTECTED]
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to