Merge branch 'fixes_2_2' into 'fixes_2_2'

Create fpc folder for git working tree.  Copy .git from source.

See merge request freepascal.org/lazarus/lazarus!39
This commit is contained in:
Martin 2021-11-06 08:31:53 +00:00
commit 454abe9552

View File

@ -55,10 +55,9 @@ if [ "$WithTempDir" = "yes" ]; then
if [ -d $TmpDir ]; then
rm -rf $TmpDir
fi
mkdir -p $TmpDir
mkdir -p $TmpDir/fpc
echo "extracting FPC from local svn ..."
# cp -a $FPCSrcDir $TmpDir/fpc #copies all to tmp folder for patching.
echo "extracting FPC from local git ..."
git -C $FPCSrcDir --work-tree=$TmpDir/fpc restore .
else
TmpDir=$FPCSrcDir