From: Eric Blake Date: Fri, 11 Nov 2011 21:16:35 +0000 (-0700) Subject: doc: tweak previous commit X-Git-Tag: v2.68b~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aae67fbef03c672a4880cf0a59b215a961c78d6;p=thirdparty%2Fautoconf.git 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 --- 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'}