summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-12-14 08:43:37 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-02-02 07:06:32 (GMT)
commit7f6fe28ce013d2ea9684f781624e57b9b4dff7c7 (patch)
tree83b36e2210dcacea324bbe450f402c49aabc8e96 /bootstrap
parent914c794fc2d4433b8796bd977a93afa0803ec42b (diff)
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>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 7015f54..79fad68 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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}`