# HG changeset patch # User "Yann E. MORIN" # Date 1214383997 0 # Node ID f746b9a18ff5f23daf3eee855720cb073301170e # Parent 6e78f7085707bfb25f2439e0aae9902fbe4da2d9 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(-) diff -r 6e78f7085707 -r f746b9a18ff5 scripts/showSamples.sh --- a/scripts/showSamples.sh Wed Jun 25 08:41:47 2008 +0000 +++ b/scripts/showSamples.sh Wed Jun 25 08:53:17 2008 +0000 @@ -62,8 +62,12 @@ 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]] "