projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f89e8
)
Save debug.txt to build dir for RUN_IN_PLACE build (#7615)
author
pauloue
<oue.paul18@gmail.com>
Wed, 15 Aug 2018 09:36:40 +0000
(
05:36
-0400)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Wed, 15 Aug 2018 09:36:40 +0000
(11:36 +0200)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index e033ef63a578e456a4023d7c959a6f7f97fcd2b1..2033518e3b542471062687d1eacc69d38db9785d 100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-532,11
+532,8
@@
static bool read_config_file(const Settings &cmd_args)
static void init_log_streams(const Settings &cmd_args)
{
-#if RUN_IN_PLACE
- std::string log_filename = DEBUGFILE;
-#else
std::string log_filename = porting::path_user + DIR_DELIM + DEBUGFILE;
-#endif
+
if (cmd_args.exists("logfile"))
log_filename = cmd_args.get("logfile");