[Rpm-maint] [rpm-software-management/rpm] The escape mechanism in macro expansion only works for %% (#1055)
Michael Schroeder
notifications at github.com
Thu Feb 6 10:42:31 UTC 2020
I think this should print `hel%loo`:
```
rpm --define 'foo() %1' --define 'loo what' --define 'bar hel%(echo %)loo' --eval '%{foo %bar}'
```
IMHO we should rip out mb->escape and instead double all '%' characters in the argv.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1055
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200206/f1a60546/attachment.html>
More information about the Rpm-maint
mailing list