mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 19:18:09 +02:00
Replace build-time prefix with installation prefix when including config files
This was already done for the contents of .service files, but not config files. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92028 Tested-by: Ralf Habacker <ralf.habacker@freenet.de> Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
parent
f830e14d30
commit
9b8f844e10
1 changed files with 7 additions and 3 deletions
|
|
@ -2122,7 +2122,8 @@ make_full_path (const DBusString *basedir,
|
|||
{
|
||||
if (_dbus_path_is_absolute (filename))
|
||||
{
|
||||
return _dbus_string_copy (filename, 0, full_path, 0);
|
||||
if (!_dbus_string_copy (filename, 0, full_path, 0))
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -2131,9 +2132,12 @@ make_full_path (const DBusString *basedir,
|
|||
|
||||
if (!_dbus_concat_dir_and_file (full_path, filename))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (!_dbus_replace_install_prefix (full_path))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static dbus_bool_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue