Commit 87e76e7e authored by Daniel Teske's avatar Daniel Teske

MaemoRpmPackageCreationStep: Change back to use '/' instead of '\'

That is on Windows.

Change-Id: I2f6e9e0118e2deb3238e73479a3160536857a372
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent b64e3e62
......@@ -515,12 +515,12 @@ bool MaemoRpmPackageCreationStep::createPackage(QProcess *buildProc,
{
Q_UNUSED(fi);
const QStringList args = QStringList() << QLatin1String("rrpmbuild")
<< QLatin1String("-bb") << m_specFile.toUserOutput();
<< QLatin1String("-bb") << m_specFile.toString();
if (!callPackagingCommand(buildProc, args))
return false;
QFile::remove(cachedPackageFilePath());
const QString packageSourceFilePath = rpmBuildDir() + QLatin1Char('/')
+ m_packageFileName.toUserOutput();
+ m_packageFileName.toString();
if (!QFile::rename(packageSourceFilePath, cachedPackageFilePath())) {
raiseError(tr("Packaging failed: Could not move package file from %1 to %2.")
.arg(packageSourceFilePath, cachedPackageFilePath()));
......
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