Skip to content

Commit df953a4

Browse files
committed
guix: Appease shellcheck.
1 parent 91897c9 commit df953a4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

contrib/guix/guix-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ time-machine() {
2222
}
2323

2424
# Deterministically build Bitcoin Core for HOSTs (overriable by environment)
25+
# shellcheck disable=SC2153
2526
for host in ${HOSTS=x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu x86_64-w64-mingw32}; do
2627

2728
# Display proper warning when the user interrupts the build

contrib/guix/libexec/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ case "$HOST" in
5555
export CROSS_LIBRARY_PATH="${CROSS_GCC}/lib:${CROSS_GCC}/${HOST}/lib:${CROSS_GCC_LIB}:${CROSS_GLIBC}/lib"
5656
;;
5757
*linux*)
58-
CROSS_GLIBC="$(store_path glibc-cross-${HOST})"
59-
CROSS_GLIBC_STATIC="$(store_path glibc-cross-${HOST} static)"
60-
CROSS_KERNEL="$(store_path linux-libre-headers-cross-${HOST})"
61-
CROSS_GCC="$(store_path gcc-cross-${HOST})"
58+
CROSS_GLIBC="$(store_path "glibc-cross-${HOST}")"
59+
CROSS_GLIBC_STATIC="$(store_path "glibc-cross-${HOST}" static)"
60+
CROSS_KERNEL="$(store_path "linux-libre-headers-cross-${HOST}")"
61+
CROSS_GCC="$(store_path "gcc-cross-${HOST}")"
6262
CROSS_GCC_LIBS=( "${CROSS_GCC}/lib/gcc/${HOST}"/* ) # This expands to an array of directories...
6363
CROSS_GCC_LIB="${CROSS_GCC_LIBS[0]}" # ...we just want the first one (there should only be one)
6464

0 commit comments

Comments
 (0)