_bash_in_ld_testsuite
authorMatthias Klose <doko@debian.org>
Sun, 20 Oct 2019 19:28:38 +0000 (20:28 +0100)
committerMatthias Klose <doko@debian.org>
Sun, 20 Oct 2019 19:28:38 +0000 (20:28 +0100)
===================================================================

Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

ld/testsuite/config/default.exp

index ce52919e796abd98662b92532fce32a26d6217d2..44a4722cea841f5ec825519403d7a031953e0757 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
 }