If the results for a prerelease had been published before the results
for the snapshot were, then the page of the results wouldn't have been
linked to the main site.
Change-Id: Ie0d625a60ee283eed8783a4df46e8857ae921b33
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
echo "" >> "${OUTPUT}"
echo "${PAGE_END}" >> "${OUTPUT}"
-python3 /srv/pwb/pwb.py get "${PAGE}" | grep "${PROJECT}" \
+python3 /srv/pwb/pwb.py get "${PAGE}" | grep "\[\[${PROJECT}\]\]" \
|| python3 /srv/pwb/pwb.py pagefromfile -start:"${PAGE_START}" -end:"${PAGE_END}" -appendtop \
-notitle -file:"${WORKSPACE}/${OUTPUT}"