Skip to content

Commit 96b9202

Browse files
author
1138-4EB
committed
style: bash array is not required
1 parent 3f20535 commit 96b9202

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ shift $((OPTIND-1))
2424
[ "$1" = "--" ] && shift
2525

2626
from_arch="x86_64"
27-
to_archs=("aarch64" "alpha" "arm" "armeb" "cris" "hppa" "i386" "m68k" "microblaze" "microblazeel" "mips" "mips64" "mips64el" "mipsel" "mipsn32" "mipsn32el" "nios2" "or1k" "ppc" "ppc64" "ppc64abi32" "ppc64le" "s390x" "sh4" "sh4eb" "sparc" "sparc32plus" "sparc64" "x86_64")
27+
to_archs="aarch64 alpha arm armeb cris hppa i386 m68k microblaze microblazeel mips mips64 mips64el mipsel mipsn32 mipsn32el nios2 or1k ppc ppc64 ppc64abi32 ppc64le s390x sh4 sh4eb sparc sparc32plus sparc64 x86_64"
2828

29-
for to_arch in "${to_archs[@]}"; do
29+
for to_arch in $to_archs; do
3030
if [ "$from_arch" != "$to_arch" ]; then
3131
docker build -t ${REPO}:$from_arch-$to_arch -<<EOF
3232
FROM scratch

0 commit comments

Comments
 (0)