Scan in root as well.
This commit is contained in:
parent
08e433b0f8
commit
24e417650a
1 changed files with 2 additions and 0 deletions
|
@ -459,6 +459,8 @@ class Octave(BuildSystem):
|
||||||
return False
|
return False
|
||||||
# Urgh, isn't there a better way to see if this is an octave package?
|
# Urgh, isn't there a better way to see if this is an octave package?
|
||||||
for entry in os.scandir(path):
|
for entry in os.scandir(path):
|
||||||
|
if entry.name.endswith('.m'):
|
||||||
|
return True
|
||||||
if not entry.is_dir():
|
if not entry.is_dir():
|
||||||
continue
|
continue
|
||||||
for subentry in os.scandir(entry.path):
|
for subentry in os.scandir(entry.path):
|
||||||
|
|
Loading…
Add table
Reference in a new issue