Re: [PATCH v2] config: simplify profile.*sh.in

2022-04-15 Thread наб via Elfutils-devel
Hi! On Fri, Apr 15, 2022 at 01:48:23PM +0200, Mark Wielaard wrote: > I have added a ChangeLog entry: > > 2022-01-19 Ahelenia Ziemiańska > >* profile.csh.in: Set DEBUGINFOD_URLS directly. Use "$0" and : >in sh -c. >* profile.sh.in: Set DEBUGINFOD_URLS directly. Don't use

[PATCH v2] config: simplify profile.*sh.in

2022-01-19 Thread наб via Elfutils-devel
Hi! On Tue, Jan 18, 2022 at 11:13:28AM -0500, Frank Ch. Eigler wrote: > You mean "prefix=@prefix@". And it's not needless, > because @sysconfdir@ often expands to "$prefix/something", > which requires a prefix var to be set for evaluation. I did, and yeah, that's right. Guess it was so outlandish

[PATCH] config: simplify profile.*sh.in

2022-01-17 Thread наб via Elfutils-devel
1. Remove needless profile=@profile@ 2. Simplify needless sh -c "cat glob 2>/dev/null" into cat glob 2>/dev/null 3. Use $( instead of ` under sh 4. Assign to D_U directly and either export it or unset it Signed-off-by: Ahelenia Ziemiańska --- Please keep me in CC, as I'm not subscribed confi