Re: An easy way to redefine configure?

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

 



Jussi Lehtola <jussilehtola@xxxxxxxxxxxxxxxxx> 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')

Andreas.

-- 
Andreas Schwab, schwab@xxxxxxxxxx
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux