Skip to content

Commit

Permalink
Merge pull request #55 from 1138-4EB/style-bash-array
Browse files Browse the repository at this point in the history
style: bash array is not required
  • Loading branch information
lafin authored Feb 25, 2019
2 parents 3f20535 + 96b9202 commit c65e1ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ shift $((OPTIND-1))
[ "$1" = "--" ] && shift

from_arch="x86_64"
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")
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"

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

0 comments on commit c65e1ed

Please sign in to comment.