Make sure that we error out if we cannot write forwarding profile.
Change-Id: Ic0b62532dd8a52cf6ab7a7c10c5ffbe3c9039ec1 Task: QTBUG-19585 Reviewed-on: http://codereview.qt.nokia.com/229 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
This commit is contained in:
parent
44595bdb19
commit
d3e048da7e
@ -1071,7 +1071,7 @@ foreach my $lib (@modules_to_sync) {
|
||||
if (-e $modulepri) {
|
||||
my $modulepriname = basename($modulepri);
|
||||
my $moduleprifwd = "$qtbasedir/mkspecs/modules/$modulepriname";
|
||||
open MODULE_PRI_FILE, ">$moduleprifwd";
|
||||
open MODULE_PRI_FILE, ">$moduleprifwd" or die("Could not open $moduleprifwd for writing");
|
||||
print MODULE_PRI_FILE "QT_MODULE_BASE = $basedir\n";
|
||||
print MODULE_PRI_FILE "QT_MODULE_BIN_BASE = $qtbasedir/bin\n";
|
||||
print MODULE_PRI_FILE "QT_MODULE_INCLUDE_BASE = $out_basedir/include\n";
|
||||
|
Loading…
Reference in New Issue
Block a user