Skip to content

Commit

Permalink
Merge branch 'jb51753' into 'master'
Browse files Browse the repository at this point in the history
Fix directory creation

See merge request mer-core/vault!16
  • Loading branch information
llewelld committed Nov 4, 2020
2 parents e446d01 + 9b849f3 commit e161d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unit.cpp
Expand Up @@ -244,7 +244,7 @@ void create_dst_dirs(map_type const &item)
{
QString path = item["full_path"].toString();
if (!QFileInfo(item["src"].toString()).isDir())
path = QFileInfo(path).dir().dirName();
path = QFileInfo(path).dir().absolutePath();

if (!QFileInfo(path).isDir()) {
if (!QDir().mkpath(path) && item["required"].toBool())
Expand Down

0 comments on commit e161d45

Please sign in to comment.