From: Heiko Thiery Date: Sat, 7 Mar 2020 07:56:28 +0000 (+0100) Subject: support/scripts/pkg-stats: store pkg dir path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d31fadfbf53a4e8c36c3fc4bb4b16c9dfd3e93e3;p=buildroot.git support/scripts/pkg-stats: store pkg dir path This value can be used for later processing. In the buildroot-stats application this is used to create links pointing to the git repo of buildroot. Signed-off-by: Heiko Thiery Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 0e7d60bdbb..016c2322e6 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -64,6 +64,7 @@ class Package: def __init__(self, name, path): self.name = name self.path = path + self.pkg_path = os.path.dirname(path) self.infras = None self.license = None self.has_license = False