aboutsummaryrefslogtreecommitdiffstats
path: root/lacme-accountd
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-08-04 00:00:58 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-08-04 01:39:35 +0200
commitda8b727f156d23553eecb90e8731d39c6027cb02 (patch)
tree929930ef53d3bacf9e472bceb441a3cdec150b83 /lacme-accountd
parentd9946b9ab478026defed364485d970b4041e1a2a (diff)
Makefile: Use variables for target directories etc.
Diffstat (limited to 'lacme-accountd')
-rwxr-xr-xlacme-accountd2
1 files changed, 1 insertions, 1 deletions
diff --git a/lacme-accountd b/lacme-accountd
index 822894b..89774c2 100755
--- a/lacme-accountd
+++ b/lacme-accountd
@@ -67,7 +67,7 @@ do {
my $conffile = $OPTS{config} // first { -f $_ }
( "./$NAME.conf"
, ($ENV{XDG_CONFIG_HOME} // "$ENV{HOME}/.config")."/lacme/$NAME.conf"
- , "/etc/lacme/$NAME.conf"
+ , "@@sysconfdir@@/lacme/$NAME.conf"
);
die "Error: Can't find configuration file\n" unless defined $conffile;
print STDERR "Using configuration file: $conffile\n" if $OPTS{debug};