diff options
author | Carl Dong <contact@carldong.me> | 2020-01-31 08:26:25 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2020-04-02 17:19:55 -0400 |
commit | df953a4c9a6143f45864757b706c88b6fa70545a (patch) | |
tree | bf3c1f0cf57d48b56b46417be27db94de562c8ea /contrib/guix/libexec/build.sh | |
parent | 91897c95e191d293eb27d8af15cbeafc5b8f3895 (diff) | |
download | bitcoin-df953a4c9a6143f45864757b706c88b6fa70545a.tar.xz |
guix: Appease shellcheck.
Diffstat (limited to 'contrib/guix/libexec/build.sh')
-rw-r--r-- | contrib/guix/libexec/build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh index f74d32fe71..bb3917b860 100644 --- a/contrib/guix/libexec/build.sh +++ b/contrib/guix/libexec/build.sh @@ -55,10 +55,10 @@ case "$HOST" in export CROSS_LIBRARY_PATH="${CROSS_GCC}/lib:${CROSS_GCC}/${HOST}/lib:${CROSS_GCC_LIB}:${CROSS_GLIBC}/lib" ;; *linux*) - CROSS_GLIBC="$(store_path glibc-cross-${HOST})" - CROSS_GLIBC_STATIC="$(store_path glibc-cross-${HOST} static)" - CROSS_KERNEL="$(store_path linux-libre-headers-cross-${HOST})" - CROSS_GCC="$(store_path gcc-cross-${HOST})" + CROSS_GLIBC="$(store_path "glibc-cross-${HOST}")" + CROSS_GLIBC_STATIC="$(store_path "glibc-cross-${HOST}" static)" + CROSS_KERNEL="$(store_path "linux-libre-headers-cross-${HOST}")" + CROSS_GCC="$(store_path "gcc-cross-${HOST}")" CROSS_GCC_LIBS=( "${CROSS_GCC}/lib/gcc/${HOST}"/* ) # This expands to an array of directories... CROSS_GCC_LIB="${CROSS_GCC_LIBS[0]}" # ...we just want the first one (there should only be one) |