Huh. And I always thought it was the other way around (you *had* to
put "" around it or they would be treated as separate words).
Committed; thanks.
On Aug 29, 2005, at 12:30 PM, Ralf Wildenhues wrote:
A small patch: On one hand, Bourne shells do not do word splitting
after
parameter expansion and command substitution, of stuff on the right
hand
side of an assignment. On the other hand, nested quotes within
backquotes are not portable. (This is also documented in the Autoconf
manual).
Examples:
foo="$bar"; baz="`ls`"
is completely equivalent to
foo=$bar; baz=`ls`
and this:
foo="`echo \"bla\"`"
does not work with pdksh in posix mode, but this
foo=`echo "bla"`
works everywhere.
By the way, between the keywords "case" and "in", word splitting is not
done either.
* config/ompi_get_version.m4 (OMPI_GET_VERSION): Fix nested
quoting.
Index: config/ompi_get_version.m4
===================================================================
--- config/ompi_get_version.m4 (Revision 7073)
+++ config/ompi_get_version.m4 (Arbeitskopie)
@@ -58,9 +58,9 @@
if test "$gv_want_svn" = "1"; then
if test "$gv_svn_r" = "-1"; then
if test -d "$srcdir/.svn"; then
- ver="r`svnversion \"$srcdir\"`"
+ ver=r`svnversion "$srcdir"`
else
- ver="svn`date '+%m%d%Y'`"
+ ver=svn`date '+%m%d%Y'`
fi
gv_svn_r="$ver"
fi
_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel
--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/