File: 013_bash_in_ld_testsuite.patch

package info (click to toggle)
binutils 2.45.50.20250903-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 379,976 kB
  • sloc: ansic: 1,508,376; asm: 825,214; cpp: 214,760; exp: 79,506; makefile: 71,882; sh: 25,520; yacc: 15,066; lisp: 13,640; perl: 13,404; lex: 1,714; ada: 1,681; pascal: 1,446; python: 1,246; cs: 879; java: 478; sed: 191; xml: 95; awk: 25
file content (13 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
@@ -203,7 +203,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
 }