_bash_in_ld_testsuite
authorMatthias Klose <doko@debian.org>
Sun, 22 Oct 2017 20:41:34 +0000 (21:41 +0100)
committerMatthias Klose <doko@debian.org>
Sun, 22 Oct 2017 20:41:34 +0000 (21:41 +0100)
===================================================================

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

ld/testsuite/config/default.exp

index f5cb188478af011d54226b3a952f33fddc101c2b..c5a053127fff2d5b599f03fab093ea00ccbb7117 100644 (file)
@@ -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
 }