From: Matthias Klose Date: Wed, 1 Sep 2021 12:43:37 +0000 (+0100) Subject: Explicitly use bash for the ld testsuite. X-Git-Tag: archive/raspbian/2.37-5+rpi1~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=59906a91f1e94f2133776fe05649f5c7861a6fc3;p=binutils.git Explicitly use bash for the ld testsuite. Gbp-Pq: Name 013_bash_in_ld_testsuite.patch --- diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp index 0795ea81b..f98c6ee5c 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -168,7 +168,7 @@ load_lib ld-lib.exp proc get_target_emul {} { global target_triplet global srcdir - set status [catch "exec sh -c \"targ='$target_triplet' && . $srcdir/../configure.tgt && echo \\\$targ_emul\"" result] + set status [catch "exec bash -c \"targ='$target_triplet' && . $srcdir/../configure.tgt && echo \\\$targ_emul\"" result] if $status { error "Error getting emulation name: $result" } return $result }