X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=fixincludes%2Ffixincl.tpl;h=c8d4b2ce1455a4ca65a61abb3728111d7488cf48;hb=3133bfbb2caec40876d9241f428741c0988c9ac3;hp=af92d15c8d9227334a2bb011dbb553dfffebf6a8;hpb=2d87ca1af4c6295103635c28a0b4608c3e80ad9d;p=pf3gnuchains%2Fgcc-fork.git diff --git a/fixincludes/fixincl.tpl b/fixincludes/fixincl.tpl index af92d15c8d9..c8d4b2ce145 100644 --- a/fixincludes/fixincl.tpl +++ b/fixincludes/fixincl.tpl @@ -35,6 +35,10 @@ x=fixincl.x =] * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ +#ifndef SED_PROGRAM +#define SED_PROGRAM "/usr/bin/sed" +#endif +static char const sed_cmd_z[] = SED_PROGRAM; [= FOR fix =] @@ -165,7 +169,7 @@ static tTestDesc a[=(. Hack)=]Tests[] = {[= * Fix Command Arguments for [=(. Hack)=] */ static const char* apz[=(. Hack)=]Patch[] = {[= - IF (exist? "sed")=] "sed"[= + IF (exist? "sed")=] sed_cmd_z[= FOR sed=], "-e", [=(kr-string (get "sed"))=][= ENDFOR sed=],[=