From: Matthias Klose Date: Wed, 18 Sep 2024 08:36:17 +0000 (+0200) Subject: Explicitly use bash for the ld testsuite. X-Git-Tag: archive/raspbian/2.43.1-5+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7c88cce6547af9511122f1fd2f7e98568660cdd2;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 8374920c7..31136101e 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -200,7 +200,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 }