summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-04-21 11:12:18 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-04-21 11:12:18 (GMT)
commit1b95c4e6502ede5a980aaf5a2ed9dad283b3eadd (patch)
tree066bdf995360981ebb645383b93866133c1ca000 /bin
parenta334ad303d2763cd53fc5bd62945d08d3555b8a7 (diff)
parent43bce78bd5a41115ab5a541243cc3edcecd2904e (diff)
downloadQt-1b95c4e6502ede5a980aaf5a2ed9dad283b3eadd.zip
Qt-1b95c4e6502ede5a980aaf5a2ed9dad283b3eadd.tar.gz
Qt-1b95c4e6502ede5a980aaf5a2ed9dad283b3eadd.tar.bz2
Merge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7
Conflicts: src/plugins/qmltooling/qmldbg_ost/qostdevice.h
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt
index 32b5384..b25a432 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -335,7 +335,9 @@ sub syncHeader {
open HEADER, ">$header" || die "Could not open $header for writing!\n";
print HEADER "#include \"$iheader_out\"\n";
close HEADER;
- utime(time, $ts, $header) or die "$iheader, $header";
+ if(defined($ts)) {
+ utime(time, $ts, $header) or die "$iheader, $header";
+ }
return 1;
}
return 0;