rpm snapshots: made building more robuste

git-svn-id: trunk@16013 -
This commit is contained in:
vincents 2008-08-09 19:30:27 +00:00
parent 8ac64ff3ce
commit 73ecc640be

View File

@ -54,6 +54,9 @@ ARCH=`rpm --eval "%{_arch}"`
# create a temporary copy of the fpc sources to patch it
TmpDir=/tmp/`whoami`/fpc
rm -rf $TmpDir
if [ ! -d /tmp/`whoami` ]; then
mkdir -p /tmp/`whoami`
fi
echo "extracting FPC from local svn ..."
svn export $FPCSrcDir $TmpDir