aboutsummaryrefslogtreecommitdiff
path: root/tcwgweb.sh
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2014-10-03 11:43:11 -0700
committerRob Savoye <rob.savoye@linaro.org>2014-10-03 11:43:11 -0700
commitc57e6ff05741462c822f64d2f2fea4fc11568805 (patch)
tree1dbe483c99321085680c1418b1043465b5ac9c2e /tcwgweb.sh
parent47707fadbd0f4a34b564fd5ab5ac331f5c4e202d (diff)
don't try to extract the ChangeLog entry if it can't be found.
Change-Id: Ia8e944fca0783a38279cf9344aaee3c0a5c67d97
Diffstat (limited to 'tcwgweb.sh')
-rwxr-xr-xtcwgweb.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tcwgweb.sh b/tcwgweb.sh
index f0e8c76..c975bd5 100755
--- a/tcwgweb.sh
+++ b/tcwgweb.sh
@@ -185,8 +185,10 @@ difftwodirs ()
echo "Build logs: http://cbuild.validation.linaro.org${wwwpath}/" >> ${resultsfile}
echo "" >> ${resultsfile}
local lineo="`grep -n -- "----" ${next}/manifest.txt | grep -o "[0-9]*"`"
- sed -e "1,${lineno}d" ${next}/manifest.txt >> ${resultsfile}
- echo "" >> ${resultsfile}
+ if test x"${lineno}" != x; then
+ sed -e "1,${lineno}d" ${next}/manifest.txt >> ${resultsfile}
+ echo "" >> ${resultsfile}
+ fi
mailto "Test results for ${gcc_version}" ${resultsfile} ${userid}
rm -f ${resultsfile}