From 17f4f21e497dc06c7e6b3331cf4fe094d79ba5c7 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Fri, 28 Feb 2020 10:18:34 +0000 Subject: [PATCH] Explicitly use bash for the ld testsuite. =================================================================== Gbp-Pq: Name 013_bash_in_ld_testsuite.patch --- ld/testsuite/config/default.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp index 7fa7911cc..ad761596c 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -117,7 +117,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 } -- 2.30.2