Re: [gentoo-dev] [PATCH v2 1/1] esed.eclass: new eclass

2022-06-04 Thread Ionen Wolkens
On Fri, Jun 03, 2022 at 07:15:17PM -0500, Oskari Pirhonen wrote: [snip[ > Testing for (in)equality between pre- and post-sed contents is > reasonable enough in most cases. This time, though, it would fail to > detect anything has changed since the pre-sed contents have their NULL's > unintentionall

Re: [gentoo-dev] [PATCH v2 1/1] esed.eclass: new eclass

2022-06-03 Thread Oskari Pirhonen
On Fri, Jun 03, 2022 at 07:36:46AM -0400, Ionen Wolkens wrote: > ... snip ... > > + # Roughly attempt to find files in arguments by checking if it's a > + # readable file (aka s/// is not a file) and does not start with - > + # (unless after --), then store contents for comparing after