Use base name (instead of "lash") for log file path

This commit is contained in:
Nedko Arnaudov 2009-08-23 23:28:05 +03:00
parent 03bb0b477d
commit d402383782
2 changed files with 3 additions and 2 deletions

View File

@ -39,8 +39,8 @@
#include "../catdup.h"
#define DEFAULT_XDG_LOG "/.log"
#define LASH_XDG_SUBDIR "/lash"
#define LASH_XDG_LOG "/lash.log"
#define LASH_XDG_SUBDIR "/" BASE_NAME
#define LASH_XDG_LOG "/" BASE_NAME ".log"
FILE * g_logfile;

View File

@ -121,6 +121,7 @@ def configure(conf):
conf.define('PACKAGE_VERSION', VERSION)
conf.define('DBUS_NAME_BASE', DBUS_NAME_BASE)
conf.define('DBUS_BASE_PATH', '/' + DBUS_NAME_BASE.replace('.', '/'))
conf.define('BASE_NAME', APPNAME)
conf.define('_GNU_SOURCE', 1)
conf.write_config_header('config.h')