We would put the "-v" option inside the quotes in the zipalign
command, causing the shell to look for the executable named
"zipalign -v".
Task-number: QTBUG-34588
Change-Id: I88269cada9d77c3ddcceb6133f9bc8cf275c425a
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
return false;
}
- if (options.verbose)
- zipAlignTool += QLatin1String(" -v");
-
- zipAlignTool = QString::fromLatin1("\"%1\" -f 4 %2 %3")
+ zipAlignTool = QString::fromLatin1("\"%1\"%2 -f 4 %3 %4")
.arg(zipAlignTool)
+ .arg(options.verbose ? QString::fromLatin1(" -v") : QString())
.arg(options.outputDirectory
+ QLatin1String("/bin/")
+ apkName(options)