Skip to content

Commit 45f0ca2

Browse files
committed
fix x86_64 being skipped for nvidia-driver
1 parent b590c34 commit 45f0ca2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/bin/bash
22

3-
set -e
3+
set -eoux pipefail
44

55
FEDORA_VERSION=${FEDORA_VERSION:-43}
66
BUILDER_VERSION=${BUILDER_VERSION:-$FEDORA_VERSION}
7+
BUILD_ARM=${BUILD_ARM:-}
78

89
if [ -n "$BUILD_ARM" ]; then
910
ARCHES=("aarch64")
@@ -40,9 +41,9 @@ compile() {
4041
spectool -g -C $1 $SPEC_TMP
4142

4243
if [ "$1" == "nvidia-driver" ]; then
43-
arches=$DRV_ARCHES
44+
arches=("${DRV_ARCHES[@]}")
4445
else
45-
arches=$ARCHES
46+
arches=("${ARCHES[@]}")
4647
fi
4748

4849
for arch in "${arches[@]}"; do

0 commit comments

Comments
 (0)