On Wed, Sep 24, 2008 at 11:55 PM, Brian Dessent <[EMAIL PROTECTED]> wrote:
> But in that context you can just use --arg1="$(SOME_VAL_WITH_SPACES)"
> because the shell does recognise quotes, and make just passes everything
> in the recipe through sh -c.

i was thinking that $(quote) might do some more intelligent handling, e.g.:

a) if the value contains ' characters, quote it with " chars.
b) if the value contains " chars, quote it with '
c) if the value contains both, quote it with " and backslash-escape
any " literals in the value.

That said, i don't think it would be useful terribly often.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to