Explicitly use bash for the ld testsuite.
authorMatthias Klose <doko@ubuntu.com>
Sun, 19 Sep 2021 15:23:57 +0000 (16:23 +0100)
committerMatthias Klose <doko@debian.org>
Sun, 19 Sep 2021 15:23:57 +0000 (16:23 +0100)
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch

ld/testsuite/config/default.exp

index 0795ea81bfb6e52031f0540d5bdb9713cd8f1459..f98c6ee5c38a5d8a4ce0d165e6e5cda4e97f4c65 100644 (file)
@@ -168,7 +168,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
 }