diff options
author | Abderrahim Kitouni <akitouni@gnome.org> | 2020-02-17 15:11:06 +0100 |
---|---|---|
committer | Abderrahim Kitouni <akitouni@gnome.org> | 2020-02-17 18:39:50 +0100 |
commit | fb91adcc4e05aabf9055b7c2a4e706dd7da91ed7 (patch) | |
tree | 5642369c8963d6b16ce94c6dadb2e6da33b14a26 /src | |
parent | f126f0afcd4df803d4a13a0f54b26afd1b173dd9 (diff) | |
download | buildstream-fb91adcc4e05aabf9055b7c2a4e706dd7da91ed7.tar.gz |
_project.py: fix the case where a simple string is passed to host-filesabderrahim/simple-host-files
also add a test
Diffstat (limited to 'src')
-rw-r--r-- | src/buildstream/_project.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_project.py b/src/buildstream/_project.py index ed3810350..0593abe6f 100644 --- a/src/buildstream/_project.py +++ b/src/buildstream/_project.py @@ -764,7 +764,7 @@ class Project: host_files = shell_options.get_sequence("host-files", default=[]) for host_file in host_files: if isinstance(host_file, ScalarNode): - mount = HostMount(host_file) + mount = HostMount(host_file.as_str()) else: # Some validation host_file.validate_keys(["path", "host_path", "optional"]) |