From 77c6645749a4f5d8e6f5d8d56648f60e3d63ba01 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 25 Jun 2008 08:53:17 +0000 Subject: 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 --git a/scripts/showSamples.sh b/scripts/showSamples.sh index 2f75b78..dc149b7 100755 --- a/scripts/showSamples.sh +++ b/scripts/showSamples.sh @@ -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]] " -- cgit v0.10.2-6-g49f6