Alloow for reporter without an URL (for privately mailed submissions).

/trunk/scripts/showSamples.sh |    8     6     2     0 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
This commit is contained in:
Yann E. MORIN" 2008-06-25 08:53:17 +00:00
parent 29e57ae0bb
commit 77c6645749

View File

@ -62,8 +62,12 @@ dump_single_sample() {
echo -n "| ${CT_ARCH_FLOAT_HW:+hard}${CT_ARCH_FLOAT_SW:+soft} float "
echo -n "| "
if [ -f "${sample_top}/samples/${sample}/reported.by" ]; then
( . "${sample_top}/samples/${sample}/reported.by"; \
echo -n "| [[${reporter_url}|${reporter_name}]] "
( . "${sample_top}/samples/${sample}/reported.by"
if [ -n "${reporter_url}" ]; then
echo -n "| [[${reporter_url}|${reporter_name}]] "
else
echo -n "| ${reporter_name} "
fi
)
else
echo -n "| [[http://ymorin.is-a-geek.org/|YEM]] "