Improve a few comments.

This commit is contained in:
Geert Janssens
2017-09-16 19:33:56 +02:00
parent 61a90d99fb
commit 2ac118f80c
3 changed files with 11 additions and 3 deletions

View File

@@ -554,6 +554,12 @@ gnc_filepath_init(gboolean create)
}
}
/* The fall back to the tmp dir is to accomodate for very restricted
* distribution build environments. In some such cases
* there is no home directory available, which would cause the build
* to fail (as this code is actually run while compiling guile scripts).
* This is worked around by continuing with a userdata directory
* in the temporary directory which always exists. */
if (!userdata_is_home)
gnc_userdata_home = userdata_home / PACKAGE_NAME;
gnc_userdata_home_exists = bfs::exists(gnc_userdata_home);