diff --git a/releng.wtpbuilder/distribution/incubator.site/publish.xml b/releng.wtpbuilder/distribution/incubator.site/publish.xml
index d3854153191d42cf5c44b90ce41813aa0d453acb..68cc9e1ff89db168aaa0d6a95b46782b5c1337f0 100644
--- a/releng.wtpbuilder/distribution/incubator.site/publish.xml
+++ b/releng.wtpbuilder/distribution/incubator.site/publish.xml
@@ -367,7 +367,7 @@
         <condition
             property="doCompileLogs">
             <available
-                dir="${outputDirectory}" />
+                file="${outputDirectory}" />
         </condition>
     </target>
     <target