From a8cddde41e8682fb32832826c8ec5dbdf3c7871f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 6 Feb 2016 19:52:33 +1000 Subject: Put the ~/.SledHamr/ creation code into all three main binaries. sigh --- src/LuaSL/LuaSL_main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/LuaSL/LuaSL_main.c') diff --git a/src/LuaSL/LuaSL_main.c b/src/LuaSL/LuaSL_main.c index 0e70fe4..c28fe4a 100644 --- a/src/LuaSL/LuaSL_main.c +++ b/src/LuaSL/LuaSL_main.c @@ -328,7 +328,13 @@ int main(int argc, char **argv) if (eina_init()) { + char temp[PATH_MAX]; + logDom = HamrTime(argv[0], main, logDom); + // Create our home directories, if not already created. + // This should be in HamrTime, bit I had a HardTime getting LumbrJack to link to ecore-file. + sprintf(temp, "%s/.SledjHamr", eina_environment_home_get()); + ecore_file_mksubdirs(temp, dirs); ourGlobals.names = eina_hash_string_superfast_new(NULL); if (ecore_init()) { -- cgit v1.1