[Buildroot] [PATCH] support/scripts/pkg-stats: add tilde '~' expansion for pathes

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Mar 7 14:56:54 UTC 2020


On Sat,  7 Mar 2020 11:37:05 +0100
Heiko Thiery <heiko.thiery at gmail.com> wrote:

> The script arguments 'nvd-path', 'json' and 'html' currently does not
> allow to have '~' in path for user home directory. With this patch
> this '~' is expanded to the real user home directory.
> 
> Signed-off-by: Heiko Thiery <heiko.thiery at gmail.com>

Isn't ~ supposed to be expanded by your shell before calling pkg-stats
? Here, pkg-stats --html ~/toto.html works perfectly fine without your
patch.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list