aboutsummaryrefslogtreecommitdiff
path: root/ci/test/wrap-qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/test/wrap-qemu.sh')
-rwxr-xr-xci/test/wrap-qemu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test/wrap-qemu.sh b/ci/test/wrap-qemu.sh
index de07fa32c6..320fca78ed 100755
--- a/ci/test/wrap-qemu.sh
+++ b/ci/test/wrap-qemu.sh
@@ -8,7 +8,7 @@ export LC_ALL=C.UTF-8
for b_name in {"${BASE_OUTDIR}/bin"/*,src/secp256k1/*tests,src/minisketch/test{,-verify},src/univalue/{no_nul,test_json,unitester,object}}; do
# shellcheck disable=SC2044
- for b in $(find "${BASE_ROOT_DIR}" -executable -type f -name $(basename $b_name)); do
+ for b in $(find "${BASE_ROOT_DIR}" -executable -type f -name "$(basename "$b_name")"); do
echo "Wrap $b ..."
mv "$b" "${b}_orig"
echo '#!/usr/bin/env bash' > "$b"