autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/10] Proper config.status --file/--header and $srcdir escapi


From: Paul Eggert
Subject: Re: [PATCH 4/10] Proper config.status --file/--header and $srcdir escaping.
Date: Tue, 04 Dec 2007 15:17:54 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> -case `sed -n '/datarootdir/ {
> +case `eval cat "$ac_file_inputs" | sed -n '/datarootdir/ {
> ...
> -])' $ac_file_inputs` in
> +])'` in

I'd rather not turn one subprocess into two just to overcome some
shell quoting issue.  How about doing it this way instead?

        sed_program='/datarootdir/ {
           ...
        '
        case `eval sed -n \"\$sed_program\" "$ac_file_inputs"` in

Similarly for the other introductions of "eval cat ...".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]