lddd: correct mktemp usage

This commit is contained in:
Pierre Schmitz 2010-07-13 15:10:47 +02:00
parent cfdfbd99f8
commit 65d654a9d7
1 changed files with 1 additions and 3 deletions

4
lddd
View File

@ -9,9 +9,7 @@ IFS=':'
libdirs='/lib:/usr/lib:/opt/qt/lib:/opt/kde/lib:/usr/lib/libfakeroot:/opt/NX/lib'
extras=
TEMPDIR=$(mktemp /tmp/lddd-script.XXXX)
rm $TEMPDIR
mkdir -p $TEMPDIR
TEMPDIR=$(mktemp -d /tmp/lddd-script.XXXX)
echo 'Go out and drink some tea, this will take a while :) ...'
# Check ELF binaries in the PATH and specified dir trees.