not sure how to format multiple entries here

This commit is contained in:
finn 2022-08-02 15:49:10 -07:00
parent 5b0a014173
commit a40f5951ca

View file

@ -6,18 +6,18 @@ apt-get update
PACKAGES=(git cmake)
case "${TARGET}" in
aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl)
apt-get install -y "${PACKAGES}" {cpp,g++,gcc}-aarch64-linux-gnu
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-aarch64-linux-gnu
;;
arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi)
apt-get install -y "${PACKAGES}" {cpp,g++,gcc}-arm-linux-gnueabi
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi
;;
arm-unknown-linux-gnueabihf|arm-unknown-linux-musleabihf)
apt-get install -y "${PACKAGES}" {cpp,g++,gcc}-arm-linux-gnueabihf
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabihf
;;
armv7-unknown-linux-gnueabihf|armv7-unknown-linux-musleabihf)
apt-get install -y "${PACKAGES}" {cpp,g++,gcc}-arm-linux-gnueabihf
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabihf
;;
*)
apt-get install -y "${PACKAGES}"
apt-get install -y "${PACKAGES[@]}"
;;
esac