summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Cunz <sascha.cunz@gmail.com>2013-10-30 21:25:19 +0000
committerTim Jenssen <tim.jenssen@digia.com>2013-11-08 12:59:43 +0100
commit819e0682166f026beec4582ce1377179baad410f (patch)
tree8ed78b08bbcd23047eb8d4045546a5763fa2c56b
parenta1a59d3e329ae70f4c6c38698316345f1c80595f (diff)
Name .dmg files after the application bundle on Mac OS X
Use the name of the application bundle (input.outputPath) to give the disc image a volume name instead of using the file name of the .dat file ("out" is set to 'installer.dat' at construction time). Change-Id: I0f53ca7fcafb83353f4fea61b62037f48281375e Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
-rw-r--r--tools/binarycreator/binarycreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp
index 3e1e755dd..c12d06851 100644
--- a/tools/binarycreator/binarycreator.cpp
+++ b/tools/binarycreator/binarycreator.cpp
@@ -354,7 +354,7 @@ static int assemble(Input input, const QInstaller::Settings &settings)
chmod755(mkdmgscript);
QProcess p;
- p.start(mkdmgscript, QStringList() << QFileInfo(out.fileName()).fileName() << bundle);
+ p.start(mkdmgscript, QStringList() << QFileInfo(input.outputPath).fileName() << bundle);
p.waitForFinished();
QFile::remove(mkdmgscript);
qDebug() << "done." << mkdmgscript;