From 0c6b92959a9e1ef1e9a8d00cea3992f483b1c787 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Mon, 30 Apr 2018 20:59:25 +0200 Subject: [PATCH] Get metadata migration working again when upgrading from 2.6 to 3.1 Due to a typo the old GNC_DOT_DIR path was wrong ($HOME.gnucash instead of $HOME/.gnucash) --- libgnucash/core-utils/gnc-filepath-utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnucash/core-utils/gnc-filepath-utils.cpp b/libgnucash/core-utils/gnc-filepath-utils.cpp index 4d00bab0e4..67e930d557 100644 --- a/libgnucash/core-utils/gnc-filepath-utils.cpp +++ b/libgnucash/core-utils/gnc-filepath-utils.cpp @@ -585,7 +585,7 @@ static std::string migrate_gnc_datahome() auto success = false; // Specify location of dictionaries bfs::path old_dir(g_get_home_dir(), cvt); - old_dir += ".gnucash"; + old_dir /= ".gnucash"; bl::generator gen; gen.add_messages_path(gnc_path_get_datadir());