From b1c7c4214608b6c11db32bc9ab4d8902ca2881dd Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 29 Aug 2008 13:48:36 +0000 Subject: [PATCH] rpm: removing the whole tmpdir git-svn-id: trunk@16299 - --- tools/install/create_fpc_rpm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/install/create_fpc_rpm.sh b/tools/install/create_fpc_rpm.sh index 395226a4d3..af5def5244 100755 --- a/tools/install/create_fpc_rpm.sh +++ b/tools/install/create_fpc_rpm.sh @@ -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