Fix the Qt build
authorvestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2012 11:06:31 +0000 (11:06 +0000)
committervestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2012 11:06:31 +0000 (11:06 +0000)
Unreviewed build fix.

* Scripts/webkitdirs.pm:
(buildQMakeProjects):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105399 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitdirs.pm

index 7b4390b..bde2561 100644 (file)
@@ -1,5 +1,14 @@
 2012-01-19  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
+        Fix the Qt build
+
+        Unreviewed build fix.
+
+        * Scripts/webkitdirs.pm:
+        (buildQMakeProjects):
+
+2012-01-19  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
+
         [Qt] Make build-webkit always do safe incremental builds after update-webkit
 
         When building against Qt5 with GCC we would just run 'make' in the build dir,
index dc8700d..37c5a65 100755 (executable)
@@ -2171,7 +2171,7 @@ sub buildQMakeProjects
 
     chdir ".." or die;
 
-    unlink($pathToBuildHint) || die "Could not delete $pathToBuildHint: $!" if $result eq 0;
+    unlink($pathToBuildHint) || die "Could not delete $pathToBuildHint: $!" if -e $pathToBuildHint && $result eq 0;
 
     return $result;
 }