Re: [dm-devel] [PATCH v2 36/37] multipath-tools: allow prefixes with and w/o trailing slash

2023-09-13 Thread Benjamin Marzinski
On Mon, Sep 11, 2023 at 06:38:45PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > Add some logic to Makefile.inc that leads to the same result > for "prefix=" and "prefix=/", or "prefix=/usr" and "prefix=/usr/". > The logic does not work for multiple trailing slashes. It applies > to all

[dm-devel] [PATCH v2 36/37] multipath-tools: allow prefixes with and w/o trailing slash

2023-09-11 Thread mwilck
From: Martin Wilck Add some logic to Makefile.inc that leads to the same result for "prefix=" and "prefix=/", or "prefix=/usr" and "prefix=/usr/". The logic does not work for multiple trailing slashes. It applies to all XYZ_prefix variables in Makefile.inc. Signed-off-by: Martin Wilck --- Make