summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-16 22:54:58 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-16 22:54:58 +0100
commit0a4a087f872846d600f16ddacce99fb3f00472d7 (patch)
tree7429de2707b8e3e46fe8cc45152a5bf7e37f99b1
parente45fe284b7c334d64c2fe105c0564c5015d3747f (diff)
Create ~/.config/dcpomatic if required; should fix #228.
-rw-r--r--src/lib/config.cc1
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;