Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code in support to use SYSCONFDIR #146

Open
andy5995 opened this issue Sep 13, 2018 · 0 comments
Open

code in support to use SYSCONFDIR #146

andy5995 opened this issue Sep 13, 2018 · 0 comments

Comments

@andy5995
Copy link
Contributor

andy5995 commented Sep 13, 2018

SYSCONFDIR can be passed to bric during compiling. it defaults to /usr/local/etc and can be changed during compile-time by using a ../configure option.

It's coded in as a define directive at the time of build, see

DEFS = -DLOCALEDIR=\"$(localedir)\" -DSYSCONFDIR=\"$(sysconfdir)\" @DEFS@

Bric should look for .bricrc (see #145) first in the user's home directory, and if not found, look in SYSCONFDIR for bricrc (no dot preceding the filename).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant