os.getenv('MESON_SUBDIR', '.'))
for path in sys.argv[1].split(','):
- for p in iglob(os.path.join(root, path)):
- if os.path.isdir(p):
- print(os.path.relpath(p))
+ if path:
+ for p in iglob(os.path.join(root, path)):
+ if os.path.isdir(p):
+ print(os.path.relpath(p).replace('\\', '/'))