Scan in root as well.

This commit is contained in:
Jelmer Vernooij 2021-03-22 14:40:14 +00:00
parent 08e433b0f8
commit 24e417650a

View file

@ -459,6 +459,8 @@ class Octave(BuildSystem):
return False
# Urgh, isn't there a better way to see if this is an octave package?
for entry in os.scandir(path):
if entry.name.endswith('.m'):
return True
if not entry.is_dir():
continue
for subentry in os.scandir(entry.path):