summaryrefslogtreecommitdiff
path: root/compositor
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad0@gmail.com>2018-12-15 15:57:19 +0200
committerMarius Vlad <marius.vlad0@gmail.com>2018-12-18 15:37:34 +0200
commitd85fe29c1f4fbe33801ed1361a3a283f8d3aee9c (patch)
tree4a404eb3a75017ae19b67c4f21cb40d0100eee18 /compositor
parent64fbd0f41f4eb175b772a2eddba8bfccb66e016a (diff)
downloadweston-d85fe29c1f4fbe33801ed1361a3a283f8d3aee9c.tar.gz
compositor: Install weston-screenshooter in BINDIR
Previously weston-screenshooter was installed in LIBEXECDIR, but given that now it can be invoked by the user whenever debug protocol is enabled, let's intall it into BINDIR. This way, it can be invoked without the need to modify PATH. Signed-off-by: Marius Vlad <marius.vlad0@gmail.com>
Diffstat (limited to 'compositor')
-rw-r--r--compositor/weston-screenshooter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compositor/weston-screenshooter.c b/compositor/weston-screenshooter.c
index c23a6944..13dea3f1 100644
--- a/compositor/weston-screenshooter.c
+++ b/compositor/weston-screenshooter.c
@@ -127,7 +127,7 @@ screenshooter_binding(struct weston_keyboard *keyboard,
char *screenshooter_exe;
- screenshooter_exe = wet_get_libexec_path("weston-screenshooter");
+ screenshooter_exe = wet_get_bindir_path("weston-screenshooter");
if (!screenshooter_exe) {
weston_log("Could not construct screenshooter path.\n");
return;