Commit 9b11b0ef authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

SdkTool: Do not create additional path

Passing "-s test" created test/test

Change-Id: I9cf5635596ea3361cde9142df6524dd684e062de
Reviewed-by: default avatarTobias Hunger <>
parent 1e804787
......@@ -122,7 +122,7 @@ bool Operation::save(const QVariantMap &map, const QString &file) const
Utils::FileName dirName = path.parentDir();
QDir dir(dirName.toString());
if (!dir.exists() && !dir.mkpath(dirName.toString())) {
if (!dir.exists() && !dir.mkpath(QLatin1String("."))) {
std::cerr << "Error: Could not create directory " << qPrintable(dirName.toString())
<< "." << std::endl;
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment