- Sometimes exception occured at current_path() due to absence of skel/pkgid/shared.
Change-Id: I695abe33fcf790a6dfdd9af6e114dfff3ea5b5e3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
bool CreateSharedDataDirectories(const bf::path& path,
const std::string& pkgid) {
if (!ci::CreateDir(path / kSharedDir / pkgid / kData) ||
- !ci::CreateDir(path / kSharedTmpDir / pkgid))
+ !ci::CreateDir(path / kSharedTmpDir / pkgid) ||
+ !ci::CreateDir(path / pkgid / kShared))
return false;
bf::current_path(path / pkgid / kShared);