Forráskód Böngészése

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 <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Heiko Thiery 5 éve
szülő
commit
d31fadfbf5
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      support/scripts/pkg-stats

+ 1 - 0
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