From: Matthias Klose Date: Thu, 10 Feb 2022 12:05:47 +0000 (+0000) Subject: Explicitly use bash for the ld testsuite. X-Git-Tag: archive/raspbian/2.37.90.20220207-1+rpi1~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ba9db5c22ca8f68405a4f892ec987a721a15cf77;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 2c3cec684..a87bad0a7 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -171,7 +171,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 }