---
ChangeLog | 4 ++++
build-aux/texi2dvi | 13 ++++++++-----
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5f4e90c..6eaa816 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-30 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * build-aux/texi2dvi: Fix Dash incompatibility.
+
2011-12-07 Guillaume Lazzara <z(a)lrde.epita.fr>
Create first draft of manpages for distributed binaries.
diff --git a/build-aux/texi2dvi b/build-aux/texi2dvi
index 7d1f2ab..e01db32 100755
--- a/build-aux/texi2dvi
+++ b/build-aux/texi2dvi
@@ -131,11 +131,14 @@ test -n "$TEX" && test -d "$TEX"
&& unset TEX
}
test_local
test $foo = bar
-) || local () {
- case $1 in
- *=*) eval "$1";;
- esac
-}
+) ||
+eval '
+ local () {
+ case $1 in
+ *=*) eval "$1";;
+ esac
+ }
+'
# cd_orig
--
1.7.2.5