summaryrefslogtreecommitdiff
path: root/debian/patches/013_bash_in_ld_testsuite.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/013_bash_in_ld_testsuite.patch')
-rw-r--r--debian/patches/013_bash_in_ld_testsuite.patch17
1 files changed, 2 insertions, 15 deletions
diff --git a/debian/patches/013_bash_in_ld_testsuite.patch b/debian/patches/013_bash_in_ld_testsuite.patch
index 09be8ac..ed642cf 100644
--- a/debian/patches/013_bash_in_ld_testsuite.patch
+++ b/debian/patches/013_bash_in_ld_testsuite.patch
@@ -1,23 +1,10 @@
Author: Matthias Klose <doko@ubuntu.com>
-Description: Explicitely use bash for the ld testsuite.
+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
-@@ -124,10 +124,10 @@ proc get_link_files {varname} {
- #makefile rules, with embedded shell variable expansions.
- #make wants $$shell_var, we want $shell_var ...
- set cmd "host='$target_triplet' && . $srcdir/../configure.host && sed -e 's,\\\$\\\$,\$,g' <<EOF\n\$$varname\nEOF"
-- set status [catch "exec sh -c [list $cmd]" result]
-+ set status [catch "exec bash -c [list $cmd]" result]
- if $status { error "Error getting native link files: $result" }
- set cmd "CC='$CC' && eval echo \"$result\""
-- set status [catch "exec sh -c [list $cmd]" result]
-+ set status [catch "exec bash -c [list $cmd]" result]
- if $status { error "Error getting native link files: $result" }
- set $varname $result
- send_log "$varname = $result\n"
-@@ -137,7 +137,7 @@ proc get_link_files {varname} {
+@@ -117,7 +117,7 @@ load_lib ld-lib.exp
proc get_target_emul {} {
global target_triplet
global srcdir