From 576448ee2fdda586add893a61e71610e689a23fb Mon Sep 17 00:00:00 2001
From: Stephan Eberle <stephaneberle9@gmail.com>
Date: Tue, 24 Oct 2017 14:55:24 +0200
Subject: [PATCH] Fixed presence check for previous update site and removed
 debug output from publish script

---
 releng/org.eclipse.sphinx.releng.builds/publish.sh | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/releng/org.eclipse.sphinx.releng.builds/publish.sh b/releng/org.eclipse.sphinx.releng.builds/publish.sh
index 48d6125ca..eef090b1e 100644
--- a/releng/org.eclipse.sphinx.releng.builds/publish.sh
+++ b/releng/org.eclipse.sphinx.releng.builds/publish.sh
@@ -197,16 +197,7 @@ echo "Copying $localUpdateSiteArchiveLocation to $targetDownloadsLocation"
 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"
-- 
GitLab