maintain general purpose script
diff --git a/releng.wtpbuilder/scripts/build/buildutilities.xml b/releng.wtpbuilder/scripts/build/buildutilities.xml
index bf509c7..5053629 100644
--- a/releng.wtpbuilder/scripts/build/buildutilities.xml
+++ b/releng.wtpbuilder/scripts/build/buildutilities.xml
@@ -678,7 +678,8 @@
     </target>
     <target
         name="createSiteFiles"
-        depends="init">
+        depends="init"
+    	  if="doP2Repo">
         <property
             name="sitexmlfile"
             value="${buildDirectory}/maps/webtools.maps/releng/sitefile/site.xml"/>