bootstrap: Escape mirrors

When we have mirrors set to $(CT_Mirror foo bar) we need some extra
escaping so that they get interpreted correctly by kconfig.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2020-12-14 21:43:37 +13:00
parent 914c794fc2
commit 7f6fe28ce0

View File

@ -596,6 +596,8 @@ enter_fork()
info[repository_url]=${info[repository]#* }
fi
info[mirrors]=${info[mirrors]//$\(/\\$\(}
versions=`cd packages/${fork} && \
for f in */version.desc; do [ -r "${f}" ] && echo "${f%/version.desc}"; done`
versions=`sort_versions ${versions}`