abuild: simplify finding repo_template

related to #10069, this keeps the original behaviour when
running in aports and allows for using rootbld in other package repositories
This commit is contained in:
ptrcnull 2022-07-20 23:03:39 +02:00 committed by Patrycja Rosa
parent dd67240f01
commit f688130443
1 changed files with 1 additions and 1 deletions

View File

@ -2938,7 +2938,7 @@ repo=${startdir%/*}
repo=${repo##*/}
aportsgit=${APORTSDIR:-${startdir}}
repo_template=$aportsgit/$repo/.rootbld-repositories
repo_template=$startdir/../.rootbld-repositories
SRCDEST=${SRCDEST:-$startdir}