diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-16 22:54:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-16 22:54:58 +0100 |
| commit | 0a4a087f872846d600f16ddacce99fb3f00472d7 (patch) | |
| tree | 7429de2707b8e3e46fe8cc45152a5bf7e37f99b1 /src/lib | |
| parent | e45fe284b7c334d64c2fe105c0564c5015d3747f (diff) | |
Create ~/.config/dcpomatic if required; should fix #228.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/config.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index 1a97eaa0d..582a14c51 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -232,6 +232,7 @@ Config::file (bool old) const p /= ".dvdomatic"; } else { p /= "dcpomatic"; + boost::filesystem::create_directory (p, ec); p /= "config.xml"; } return p; |
