diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2014-10-03 11:43:11 -0700 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2014-10-03 11:43:11 -0700 |
commit | c57e6ff05741462c822f64d2f2fea4fc11568805 (patch) | |
tree | 1dbe483c99321085680c1418b1043465b5ac9c2e /tcwgweb.sh | |
parent | 47707fadbd0f4a34b564fd5ab5ac331f5c4e202d (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-x | tcwgweb.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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} |