./build-userland: resolve relative paths

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-03-13 00:00:03 +00:00
parent 276688bb33
commit e32b1cba45
6 changed files with 68 additions and 7 deletions

View File

@@ -167,6 +167,7 @@ Default: build all examples that have their package dependencies met, e.g.:
else:
targets = [self.env['userland_source_dir']]
for target in targets:
target = self.resolve_userland_source(target)
for path, in_dirnames, in_filenames in self.sh.walk(target):
in_dirnames.sort()
path_abs = os.path.abspath(path)