mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 17:58:18 +02:00
Create fpc folder for git working tree. Copy .git from source.
This commit is contained in:
parent
9ba3e061c3
commit
5d482579e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user