summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilo Spannagel <development@tilosp.de>2020-03-09 14:50:53 +0100
committerGitHub <noreply@github.com>2020-03-09 14:50:53 +0100
commit90245ce08291f347fc764d6d6b96f29a2708ab47 (patch)
treed0bb68239317d1ca858fd43ddd718628014e0dfe
parent63634d91a36843257a86951f74919f6d15061c3a (diff)
Fix parentRepoToArches
-rwxr-xr-xgenerate-stackbrew-library.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh
index a68081c9..b2a8d767 100755
--- a/generate-stackbrew-library.sh
+++ b/generate-stackbrew-library.sh
@@ -43,7 +43,7 @@ getArches() {
eval "declare -g -A parentRepoToArches=( $(
find -maxdepth 3 -name 'Dockerfile' -exec awk '
toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|microsoft\/[^:]+)(:|$)/ {
- print "'"$officialImagesUrl"'" $2
+ split($2,x,":"); print "'"$officialImagesUrl"'" x[1]
}
' '{}' + \
| sort -u \