Jump to content

[patch] [5975] System Config Directory Defaults For Linux


Guest redcore

Recommended Posts

This patch fixes small typo in build environment on linux. This makes possible to pass --sysconfdir=DIR option to configure script to set system config directory.

Index: src/shared/SystemConfig.h.in
===================================================================
--- src/shared/SystemConfig.h.in                (revision 5961)
+++ src/shared/SystemConfig.h.in                (working copy)
@@ -49,8 +49,8 @@
# define _REALMD_CONFIG     "realmd.conf"
#else
# define _FULLVERSION "/" _VERSION " (Unix)"
-# define _MANGOSD_CONFIG    "@prefix@/etc/mangosd.conf"
-# define _REALMD_CONFIG    "@prefix@/etc/realmd.conf"
+# define _MANGOSD_CONFIG    "@sysconfdir@/mangosd.conf"
+# define _REALMD_CONFIG    "@sysconfdir@/realmd.conf"
#endif

#define DEFAULT_PLAYER_LIMIT 100

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use