Explicitly use bash for the ld testsuite.
authorMatthias Klose <doko@ubuntu.com>
Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)
committerMatthias Klose <doko@debian.org>
Sat, 20 Feb 2021 15:38:30 +0000 (15:38 +0000)
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

ld/testsuite/config/default.exp

index 9e89ca1283472c2ab071fb65104007e3246f7a1a..09616f218fd59180aa8194f147ad272d7e8e0d91 100644 (file)
@@ -163,7 +163,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
 }