Skip to content

Commit

Permalink
Save debug.txt to build dir for RUN_IN_PLACE build (#7615)
Browse files Browse the repository at this point in the history
  • Loading branch information
p-ouellette authored and SmallJoker committed Aug 15, 2018
1 parent 03f89e8 commit 5aa865e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.cpp
Expand Up @@ -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");

Expand Down

0 comments on commit 5aa865e

Please sign in to comment.