diff options
author | Tilo Spannagel <development@tilosp.de> | 2020-03-09 14:51:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 14:51:35 +0100 |
commit | fda5053c31aa05e5259badd77c808b7c8a8cb3f2 (patch) | |
tree | d0bb68239317d1ca858fd43ddd718628014e0dfe | |
parent | 63634d91a36843257a86951f74919f6d15061c3a (diff) | |
parent | 90245ce08291f347fc764d6d6b96f29a2708ab47 (diff) |
Merge pull request #1025 from nextcloud/tilosp-patch-1
Fix parentRepoToArches
-rwxr-xr-x | generate-stackbrew-library.sh | 2 |
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 \ |