[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: An easy way to redefine configure?
- From: Jussi Lehtola <jussilehtola fedoraproject org>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Subject: Re: An easy way to redefine configure?
- Date: Tue, 04 Aug 2009 15:58:49 +0300
On Tue, 2009-08-04 at 14:47 +0200, Andreas Schwab wrote:
> Jussi Lehtola <jussilehtola fedoraproject org> writes:
>
> > So far I've tried
> >
> > %global dconfigure %(echo "%{configure}" | sed
> > 's|./configure|../configure|g')
>
> Since %configure expands to a text containing double quotes this gets
> the quoting wrong. Using single quotes work here (albeit still not
> general enough):
>
> %global dconfigure %(printf %%s '%configure' | sed 's!\./configure!../configure!g')
Thanks, this was what I was looking for.
--
Jussi Lehtola
Fedora Project Contributor
jussilehtola fedoraproject org
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]