From 65d654a9d7f021d128bf783e0f498cf9b5c9a7a3 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Tue, 13 Jul 2010 15:10:47 +0200 Subject: lddd: correct mktemp usage --- lddd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lddd') diff --git a/lddd b/lddd index 64d11a8..643782c 100755 --- a/lddd +++ b/lddd @@ -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. -- cgit v1.2.3-24-g4f1b