Commit 31422318 authored by Christian Kandeler's avatar Christian Kandeler Committed by con

Maemo: Manually add "execute" bit to debian/rules file.

The file is expected to be executable on Linux. However, when it
was created on Windows and checked into a repository, the
bit will not be set when pulling it onto a Linux system, resulting
in packaging failure.

Task-number: QTCREATORBUG-3277
Reviewed-by: kh1
Reviewed-by: dt
parent a5c4903a
...@@ -263,8 +263,12 @@ bool MaemoPackageCreationStep::copyDebianFiles(bool inSourceBuild) ...@@ -263,8 +263,12 @@ bool MaemoPackageCreationStep::copyDebianFiles(bool inSourceBuild)
} }
// Workaround for Harmattan icon bug // Workaround for Harmattan icon bug
if (harmattanWorkaroundNeeded && fileName == QLatin1String("rules")) if (fileName == QLatin1String("rules")) {
addWorkaroundForHarmattanBug(destFile); if (harmattanWorkaroundNeeded)
addWorkaroundForHarmattanBug(destFile);
QFile rulesFile(destFile);
rulesFile.setPermissions(rulesFile.permissions() | QFile::ExeUser);
}
} }
QFile magicFile(magicFilePath); QFile magicFile(magicFilePath);
......
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