aedi: fix source path customization

This commit is contained in:
alexey.lysiuk 2021-03-02 18:06:20 +02:00
parent 79cf3edf19
commit 8717e14b68

View file

@ -47,6 +47,9 @@ class Builder(object):
state.platform = self._platforms[0]
if arguments.source_path:
state.source_path = os.path.abspath(arguments.source_path)
if arguments.target:
self._target = self._targets[arguments.target]
state.source = state.source_path + self._target.name + os.sep