Fix pear.

This commit is contained in:
Jelmer Vernooij 2021-04-02 00:13:50 +01:00
parent d4d1d2cf4c
commit 0a4c6f9608

View file

@ -175,7 +175,7 @@ class Pear(BuildSystem):
def probe(cls, path):
if os.path.exists(os.path.join(path, "package.xml")):
logging.debug("Found package.xml, assuming pear package.")
return cls(os.path.join(path, "package.xml"))
return cls(path)
# run_setup, but setting __name__