From: Matthias Klose Date: Tue, 5 Sep 2023 13:53:35 +0000 (+0100) Subject: Explicitly use bash for the ld testsuite. X-Git-Tag: archive/raspbian/2.41-6+rpi1^2^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fddc3132a1e2a0266f363fb1159fb1a7fac0c24d;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 5c925476e..6fd12cc55 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -178,7 +178,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 }