X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=debian%2Fpatches%2F013_bash_in_ld_testsuite.dpatch;fp=debian%2Fpatches%2F013_bash_in_ld_testsuite.dpatch;h=0000000000000000000000000000000000000000;hp=8944013086393cb341dd9c058ce6345350b5bddc;hb=d2b7d31e6dbe72ae2f2ca39f680e74b2a4ad908d;hpb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e diff --git a/debian/patches/013_bash_in_ld_testsuite.dpatch b/debian/patches/013_bash_in_ld_testsuite.dpatch deleted file mode 100755 index 8944013..0000000 --- a/debian/patches/013_bash_in_ld_testsuite.dpatch +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -e -## 007_bash_in_ld_testsuite.dpatch.dpatch by Matthias Klose -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Explicitely use bash for the ld testsuite. - -if [ $# -ne 1 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi - -[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts -patch_opts="${patch_opts:--f --no-backup-if-mismatch}" - -case "$1" in - -patch) patch $patch_opts -p1 < $0;; - -unpatch) patch $patch_opts -p1 -R < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1;; -esac - -exit 0 - -@DPATCH@ ---- ./ld/testsuite/config/default.exp~ 2007-07-07 19:55:47.000000000 +0200 -+++ ./ld/testsuite/config/default.exp 2007-07-07 20:20:45.000000000 +0200 -@@ -117,7 +117,7 @@ - global srcdir - global CC - if ![info exists $varname] { -- set status [catch "exec sh -c \"host='$target_triplet' && CC='$CC' && . $srcdir/../configure.host && eval echo \\$$varname\"" result] -+ set status [catch "exec bash -c \"host='$target_triplet' && CC='$CC' && . $srcdir/../configure.host && eval echo \\$$varname\"" result] - if $status { error "Error getting native link files: $result" } - set $varname $result - } -@@ -126,7 +126,7 @@ - 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 - }