summaryrefslogtreecommitdiff
path: root/tsp/scripts
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2016-05-12 13:15:56 +0200
committerAleksander Mistewicz <a.mistewicz@samsung.com>2016-07-11 10:29:45 +0200
commit2b790c3c7910b7287581c1981f54ae070bfee74d (patch)
treed342ca56ab6fdbb8d597cf21b4ddba8f0a360253 /tsp/scripts
parent4806f3f1d93a52cf107e0b8eac3a04fcb7f4bf13 (diff)
downloadmajor-2b790c3c7910b7287581c1981f54ae070bfee74d.tar.gz
major-2b790c3c7910b7287581c1981f54ae070bfee74d.tar.bz2
major-2b790c3c7910b7287581c1981f54ae070bfee74d.zip
Fix snapshot linking bug in tsp/scripts/publish.sh
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>
Diffstat (limited to 'tsp/scripts')
-rwxr-xr-xtsp/scripts/publish.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsp/scripts/publish.sh b/tsp/scripts/publish.sh
index 936a229..523bb6c 100755
--- a/tsp/scripts/publish.sh
+++ b/tsp/scripts/publish.sh
@@ -36,7 +36,7 @@ echo '[['"${PROJECT}"']]' >> "${OUTPUT}"
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}"