rpm: removing the whole tmpdir

git-svn-id: trunk@16299 -
This commit is contained in:
mattias 2008-08-29 13:48:36 +00:00
parent cef06f6bb7
commit b1c7c42146

View File

@ -54,8 +54,8 @@ fi
TmpDir=/tmp/fpc_patchdir
if [ "$WithTempDir" = "yes" ]; then
if [ -d $TmpDir ]; then
rm -rf $TmpDir/*
rm -r $TmpDir
# note: beware of malicious links
rm -rf $TmpDir
fi
mkdir -p $TmpDir