Fixed presence check for previous update site and removed debug output
from publish script
diff --git a/releng/org.eclipse.sphinx.releng.builds/publish.sh b/releng/org.eclipse.sphinx.releng.builds/publish.sh
index 48d6125..eef090b 100644
--- a/releng/org.eclipse.sphinx.releng.builds/publish.sh
+++ b/releng/org.eclipse.sphinx.releng.builds/publish.sh
@@ -197,16 +197,7 @@
mkdir -p $targetDownloadsLocation
cp $localUpdateSiteArchiveLocation $targetDownloadsLocation
-if [ "$MERGE_UPDATE_SITE" != "false" ]
- then
- echo "MERGE_UPDATE_SITE <> false"
-fi
-if [ -f "$targetUpdateSiteLocation/content.*" ];
- then
- echo "f targetUpdateSiteLocation/content.*"
-fi
-
-if [ "$MERGE_UPDATE_SITE" != "false" ] && [ -f "$targetUpdateSiteLocation/content.*" ];
+if [ "$MERGE_UPDATE_SITE" != "false" ] && [ -f "$targetUpdateSiteLocation/content.jar" ];
then
echo "------------------------------------------------------------------------"
echo "Merging project update site into build update site"