summaryrefslogtreecommitdiffstats
path: root/swaylock/pam.c
diff options
context:
space:
mode:
authorLibravatar progandy <code@progandy>2018-11-23 23:14:59 +0100
committerLibravatar progandy <code@progandy>2018-11-23 23:30:46 +0100
commitc4bbd0d3c62e95a2adf7de032db76fa674d95760 (patch)
tree2832a8f4624edda9b547ef64493eb64310865e39 /swaylock/pam.c
parentMerge pull request #3158 from emersion/get-outputs-focused (diff)
downloadsway-c4bbd0d3c62e95a2adf7de032db76fa674d95760.tar.gz
sway-c4bbd0d3c62e95a2adf7de032db76fa674d95760.tar.zst
sway-c4bbd0d3c62e95a2adf7de032db76fa674d95760.zip
Meson: Fix SYSCONFDIR definition.
SYSCONFDIR was set to the wrong path if prefix is not '/usr' and sysconfdir is an absolute path. Use join_paths() to fix it. Also remove the special case for prefix '/usr'. In that case Meson already sets sysconfdir to the absolute path '/etc', so just using join_paths() will return the correct value. join_paths('/usr/local', 'etc') => '/usr/local/etc' join_paths('/usr/local', '/etc') => '/etc' join_paths('/usr', '/etc') => '/etc'
Diffstat (limited to 'swaylock/pam.c')
0 files changed, 0 insertions, 0 deletions