summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buildstream/_project.py2
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"])