Please sign in to comment.
cfg-lexer: Implement glob-based @include.
Both for distributions and otherwise, the ability to limit what kind of files are included, especially when doing a directory include is very important. This patch implements just that, by extending cfg_lexer_include_file() to try and resolve globs, if it can't find a file otherwise. Files included this way still respect the global include-path setting, so @include "foo.d/*.conf" will still work. Signed-off-by: Gergely Nagy <firstname.lastname@example.org>
- Loading branch information...