summaryrefslogtreecommitdiffstats
path: root/installerbuilder
diff options
context:
space:
mode:
authorNiels Weber <niels.2.weber@nokia.com>2012-02-23 11:12:17 +0100
committerNiels Weber <niels.2.weber@nokia.com>2012-02-23 14:43:08 +0100
commit23d0e05b3df635ef70f84acf1abcbe68c6c7fae6 (patch)
tree4dd4905175b16728775e53e0c57ffd3784bdb1a7 /installerbuilder
parent16d807b25c55c36b2707292ce076b125ec6ec0cb (diff)
replace multiple space with tabs in debug output
Change-Id: I1cb54b7d0988e8d25578ea7b05ff16a7c2f01fb3 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Diffstat (limited to 'installerbuilder')
-rw-r--r--installerbuilder/binarycreator/binarycreator.cpp12
-rw-r--r--installerbuilder/common/repositorygen.cpp4
2 files changed, 8 insertions, 8 deletions
diff --git a/installerbuilder/binarycreator/binarycreator.cpp b/installerbuilder/binarycreator/binarycreator.cpp
index cdbf0be8b..d49777959 100644
--- a/installerbuilder/binarycreator/binarycreator.cpp
+++ b/installerbuilder/binarycreator/binarycreator.cpp
@@ -458,7 +458,7 @@ static QString createMetaDataDirectory(const PackageInfoVector &packages, const
if (next.contains("/.")) // skip files that are in directories starting with a point
continue;
- qDebug() << " Found configuration file: " << next;
+ qDebug() << "\tFound configuration file: " << next;
const QFileInfo sourceFileInfo(next);
const QString source = sourceFileInfo.absoluteFilePath();
const QFileInfo targetFileInfo(configCopy, QFileInfo(next).fileName());
@@ -480,7 +480,7 @@ static QString createMetaDataDirectory(const PackageInfoVector &packages, const
QDomElement doc = dom.documentElement();
QDomElement privateKey = doc.elementsByTagName(QLatin1String("PrivateKey")).item(0).toElement();
if (!privateKey.isNull()) {
- qDebug() << " It contains the RSA private key, removing it...";
+ qDebug() << "\tIt contains the RSA private key, removing it...";
if (doc.removeChild(privateKey).isNull())
throw Error(QObject::tr("Could not remove the private key from config.xml"));
}
@@ -523,7 +523,7 @@ static QString createMetaDataDirectory(const PackageInfoVector &packages, const
openForWrite(&configXml, configXml.fileName());
QTextStream stream(&configXml);
dom.save(stream, 4);
- qDebug() << " done.";
+ qDebug() << "\tdone.";
}
}
return metapath;
@@ -700,11 +700,11 @@ int main(int argc, char **argv)
.entryInfoList(QDir::NoDotAndDotDot | QDir::Dirs | QDir::Files);
foreach (const QFileInfo &archive, archives) {
const QSharedPointer<Archive> arch(new Archive(archive.absoluteFilePath()));
- qDebug() << QString::fromLatin1(" Appending %1 (%2 bytes)")
+ qDebug() << QString::fromLatin1("\tAppending %1 (%2 bytes)")
.arg(archive.filePath(), QString::number(arch->size()));
comp.appendArchive(arch);
if (!privateKey.isEmpty()) {
- qDebug() << " Appending a RSA signature...";
+ qDebug() << "\tAppending a RSA signature...";
const QByteArray signature = crypto.sign(arch.data());
if (signature.isEmpty())
throw Error(QObject::tr("Could not create a RSA signature"));
@@ -713,7 +713,7 @@ int main(int argc, char **argv)
throw Error(QObject::tr("Created RSA signature could not be verified. Is "
"the given public key wrong?"));
}
- qDebug() << QString::fromLatin1(" Appending %1.sig (%2 bytes)")
+ qDebug() << QString::fromLatin1("\tAppending %1.sig (%2 bytes)")
.arg(archive.fileName(), signature.size());
const QSharedPointer<Archive> sigArch(new Archive(arch->name() + ".sig", signature));
comp.appendArchive(sigArch);
diff --git a/installerbuilder/common/repositorygen.cpp b/installerbuilder/common/repositorygen.cpp
index 1edc5a0a4..1d7c5ee02 100644
--- a/installerbuilder/common/repositorygen.cpp
+++ b/installerbuilder/common/repositorygen.cpp
@@ -226,10 +226,10 @@ static QVector<PackageInfo> calculateNeededPackages(const QStringList &component
QVector<PackageInfo> dependencies;
if (!info.dependencies.isEmpty()) {
- qDebug() << " It depends on:";
+ qDebug() << "\tIt depends on:";
for (QStringList::const_iterator dep = info.dependencies.begin();
dep != info.dependencies.end(); ++dep) {
- qDebug() << " " << *dep;
+ qDebug() << "\t\t" << *dep;
}
dependencies += calculateNeededPackages(info.dependencies, available);
}