Mercurial > mxe-octave
changeset 3518:596a5f3baf08
fix texinfo egrep bug
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 14 Feb 2014 13:23:25 -0500 |
parents | 6a6f257372b7 |
children | de728273f855 |
files | src/build-texinfo-1-fixes.patch src/texinfo-1-fixes.patch |
diffstat | 2 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/build-texinfo-1-fixes.patch Fri Feb 14 13:23:25 2014 -0500 @@ -0,0 +1,12 @@ +diff -ru a/util/texi2dvi b/util/texi2dvi +--- a/util/texi2dvi 2008-09-18 14:46:01.000000000 -0400 ++++ b/util/texi2dvi 2014-02-14 13:21:50.038015947 -0500 +@@ -1683,7 +1683,7 @@ + + # If the COMMAND_LINE_FILENAME is not absolute (e.g., --debug.tex), + # prepend `./' in order to avoid that the tools take it as an option. +- echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \ ++ echo "$command_line_filename" | $EGREP '^(/|[A-Za-z]:/)' >&6 \ + || command_line_filename="./$command_line_filename" + + # See if the file exists. If it doesn't we're in trouble since, even
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/texinfo-1-fixes.patch Fri Feb 14 13:23:25 2014 -0500 @@ -0,0 +1,12 @@ +diff -ru a/util/texi2dvi b/util/texi2dvi +--- a/util/texi2dvi 2008-09-18 14:46:01.000000000 -0400 ++++ b/util/texi2dvi 2014-02-14 13:21:50.038015947 -0500 +@@ -1683,7 +1683,7 @@ + + # If the COMMAND_LINE_FILENAME is not absolute (e.g., --debug.tex), + # prepend `./' in order to avoid that the tools take it as an option. +- echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \ ++ echo "$command_line_filename" | $EGREP '^(/|[A-Za-z]:/)' >&6 \ + || command_line_filename="./$command_line_filename" + + # See if the file exists. If it doesn't we're in trouble since, even