mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
SYSCONFDIR and LinuxPath should work with different install prefixs
This commit is contained in:
parent
144f6ca79a
commit
2ae8158ee9
3 changed files with 4 additions and 3 deletions
|
@ -69,7 +69,7 @@ boost::filesystem::path LinuxPath::getCachePath() const
|
|||
|
||||
boost::filesystem::path LinuxPath::getGlobalConfigPath() const
|
||||
{
|
||||
boost::filesystem::path globalPath("/etc/");
|
||||
boost::filesystem::path globalPath(INSTALL_PREFIX "/etc/");
|
||||
return globalPath / mName;
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ boost::filesystem::path LinuxPath::getLocalPath() const
|
|||
|
||||
boost::filesystem::path LinuxPath::getGlobalDataPath() const
|
||||
{
|
||||
boost::filesystem::path globalDataPath("/usr/share/games/");
|
||||
boost::filesystem::path globalDataPath(INSTALL_PREFIX "/share/games/");
|
||||
return globalDataPath / mName;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue