cli-command: Replace config dir with toplevel for .include on win32
authorPatrick Gaskin <patrick@pgaskin.net>
Fri, 23 Apr 2021 06:25:58 +0000 (02:25 -0400)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Mon, 3 May 2021 10:58:45 +0000 (10:58 +0000)
commita238a58186ed7f68676d8ef17285a962bd013361
treebe37a5c3d5c25edd396097a73023a8f74447adf8
parent4ec89c27c999a2cb01828601d1207473f1e0131e
cli-command: Replace config dir with toplevel for .include on win32

This makes the behaviour match pa_{open,find}_config_file by
replacing PA_DEFAULT_CONFIG_DIR with the toplevel.

This fixes the hardcoded paths for {default,system}.pa.d introduced
in 45abd0b43c7901b375afcba6d9b0e1cca2f349a8 (!361).

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/545>
src/pulsecore/cli-command.c