1
0
Files
binutils/debian/patches/013_bash_in_ld_testsuite.patch
Konstantin Demin 8c29d0a2c2 initial import from Debian
version: 2.45-4 (UNRELEASED)
commit: bf4f75f17a4f370adc9bf9feca09710ce76ecc63
2025-08-11 12:46:32 +03:00

14 lines
622 B
Diff

Author: Matthias Klose <doko@ubuntu.com>
Description: Explicitly use bash for the ld testsuite.
--- 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
}