On Nov 3, 2006, at 9:46 AM, Ethan Mallove wrote:
>> So just to confirm -- this works:
>> command = ./configure --with-mpi-dir=&test_prefix(); gmake
> Right. I still like doing trim_quotes before returning, so
> that we're more forgiving in allowing ''both'' of these:
> shell_build_command = configure --with-mpi-dir=&test_prefix(); gmake
> shell_build_command = "configure --with-mpi-dir=&test_prefix(); gmake"
But what if there are cases where I *do* want quotes?
I'm more in favor of being as literal as possible. What you type for
the shell_build_command will be directly launched. This provides
greater flexiblity for if you *do* need quotes. For example:
shell_build_command = ./configure "CFLAGS=-g -O"
In this case you definitely do not want to remove the quotes.
More specifically, proper quoting handling is a really, really tricky
task and I don't really want to tackle it. :-)
Server Virtualization Business Unit