From 7aae67fbef03c672a4880cf0a59b215a961c78d6 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 11 Nov 2011 14:16:35 -0700 Subject: [PATCH] doc: tweak previous commit * doc/autoconf.texi (Limitations of Builtins) : Give concrete example of offender, and drop redundant text. Reported by Stefano Lattarini. Signed-off-by: Eric Blake --- ChangeLog | 5 +++++ doc/autoconf.texi | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 72b1dbcc..68dffefe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-11-11 Eric Blake + doc: tweak previous commit + * doc/autoconf.texi (Limitations of Builtins) : Give + concrete example of offender, and drop redundant text. + Reported by Stefano Lattarini. + doc: mention export portability hint * doc/autoconf.texi (Limitations of Builtins) : Document export limitation. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 417c432d..0569a276 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -17643,9 +17643,9 @@ foo= @end example Posix requires @command{export} to honor assignments made as arguments, -but older shells did not support this. Portable scripts should separate -assignments and exports into different statements (it does not matter if -the export comes before or after the assignment). +but older shells do not support this, including @command{/bin/sh} in +Solaris 10. Portable scripts should separate assignments and exports +into different statements. @example $ @kbd{bash -c 'export foo=bar; echo $foo'} -- 2.47.2