diff options
author | Alex Stewart <alex.stewart@ni.com> | 2022-12-14 03:05:45 -0600 |
---|---|---|
committer | Alex Stewart <alex.stewart@ni.com> | 2022-12-14 03:52:40 -0600 |
commit | 8327383e262e1e7f32750a8a2d3dd708195b0f53 (patch) | |
tree | 99e1b0b99d30f63fefaf231a765ff4017e60328d /meson.build | |
parent | 9e5962b4625acf7327c7c5eaebdf9fb4ea0c72f2 (diff) | |
download | gvfs-8327383e262e1e7f32750a8a2d3dd708195b0f53.tar.gz |
daemon: PATH-expand the sftp backend ssh client
Meson is currently configured to search the gvfs builder's PATH for an
ssh client, and hardcode its fullpath as the canonical ssh client for
the gvfs sftp backend.
This setup breaks in cases where the builder has a different ssh client
from the final runtime root, or where the client's pathes differ.
Builders using OpenEmbedded or buildroot workspaces are particularly
affected.
Instead, set SSH_PROGRAM to `ssh` so that it gets PATH-expanded at
runtime.
Closes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/465
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 7fd67427..a84c0104 100644 --- a/meson.build +++ b/meson.build @@ -457,10 +457,6 @@ endif # *** SFTP backend *** enable_sftp = get_option('sftp') -if enable_sftp - ssh = find_program('ssh', required: false) - assert(ssh.found(), 'SFTP backend requested but a ssh client is required') -endif # *** Enable development utils *** enable_devel_utils = get_option('devel_utils') |