Improve multicore build process by make use of overlays and uniqie temporally build directories

This commit is contained in:
Igor Pecovnik
2020-10-21 15:31:32 +02:00
parent 3ed90c135f
commit 9b12d2907f
5 changed files with 150 additions and 144 deletions

View File

@@ -201,7 +201,7 @@ improved_git()
local count=1
while [ $count -lt $retries ]; do
$realgit "$@"
if [ $? -eq 0 ]; then
if [[ $? -eq 0 || -f .git/index.lock ]]; then
retries=0
break
fi