diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2018-05-06 00:19:43 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2018-05-06 00:19:43 +0100 |
commit | 0cdc47ab1ec09c9fe64e990a7770dbb15ef85a65 (patch) | |
tree | e56bf6be92b10a3272bf4233566522ad5830efc0 /sway/commands/exec_always.c | |
parent | Revert "command/exec_always: Use wlr_log for logging errors in the child proc... (diff) | |
download | sway-0cdc47ab1ec09c9fe64e990a7770dbb15ef85a65.tar.gz sway-0cdc47ab1ec09c9fe64e990a7770dbb15ef85a65.tar.zst sway-0cdc47ab1ec09c9fe64e990a7770dbb15ef85a65.zip |
Revert "Meson: Replace option `instlibdir` with `libexecdir`"
This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e.
Diffstat (limited to 'sway/commands/exec_always.c')
-rw-r--r-- | sway/commands/exec_always.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c index 1d95dc96..8483cf26 100644 --- a/sway/commands/exec_always.c +++ b/sway/commands/exec_always.c | |||
@@ -55,8 +55,8 @@ struct cmd_results *cmd_exec_always(int argc, char **argv) { | |||
55 | if ((*child = fork()) == 0) { | 55 | if ((*child = fork()) == 0) { |
56 | // Acquire the current PATH | 56 | // Acquire the current PATH |
57 | char *path = getenv("PATH"); | 57 | char *path = getenv("PATH"); |
58 | const char *extra_path = ":" SWAY_LIBEXECDIR; | 58 | const char *extra_path = ":" INSTLIBDIR; |
59 | const size_t extra_size = sizeof(SWAY_LIBEXECDIR) + 1; | 59 | const size_t extra_size = sizeof(INSTLIBDIR) + 1; |
60 | 60 | ||
61 | if (!path) { | 61 | if (!path) { |
62 | size_t n = confstr(_CS_PATH, NULL, 0); | 62 | size_t n = confstr(_CS_PATH, NULL, 0); |