2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-14 01:29:23 +00:00

Fix relative pkglist includes

This commit is contained in:
Jarrod Johnson 2021-11-15 11:42:15 -05:00
parent d59ac74f3a
commit 218b914754

View File

@ -429,7 +429,7 @@ class OsHandler(object):
subfilename = subfilename[:-1]
if subfilename[0] != '/':
subfilename = os.path.join(os.path.dirname(pkglistfile), subfilename)
retpkgs.extend(self.list_packages(pkg[1:]))
retpkgs.extend(self.list_packages(subfilename)
else:
retpkgs.append(pkg)
return retpkgs