Package: binutils / 2.31.1-14

013_bash_in_ld_testsuite.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Matthias Klose <doko@ubuntu.com>
Description: Explicitly use bash for the ld testsuite.
Index: b/ld/testsuite/config/default.exp
===================================================================
--- 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
 }