scripts/showSamples.sh
changeset 935 e175e3538310
parent 851 6add2c0b63cd
child 999 0056905eea2b
     1.1 --- a/scripts/showSamples.sh	Sun Sep 14 16:54:12 2008 +0000
     1.2 +++ b/scripts/showSamples.sh	Tue Oct 14 21:30:27 2008 +0000
     1.3 @@ -83,17 +83,17 @@
     1.4          [ "${CT_CC_LANG_OBJCXX}" = "y"  ] && printf ", Objective-C++"
     1.5          [ -n "${CT_CC_LANG_OTHERS}"     ] && printf "\\\\\\\\ Others: ${CT_CC_LANG_OTHERS}"
     1.6          printf "  "
     1.7 -        if [ -f "${sample_top}/samples/${sample}/reported.by" ]; then
     1.8 -            ( . "${sample_top}/samples/${sample}/reported.by"
     1.9 +        ( . "${sample_top}/samples/${sample}/reported.by"
    1.10 +          if [ -n "${reporter_name}" ]; then
    1.11                if [ -n "${reporter_url}" ]; then
    1.12                    printf "|  [[${reporter_url}|${reporter_name}]]  "
    1.13                else
    1.14                    printf "|  ${reporter_name}  "
    1.15                fi
    1.16 -            )
    1.17 -        else
    1.18 -            printf "|  [[http://ymorin.is-a-geek.org/|YEM]]  "
    1.19 -        fi
    1.20 +          else
    1.21 +              printf "|  [[http://ymorin.is-a-geek.org/|YEM]]  "
    1.22 +          fi
    1.23 +        )
    1.24          sample_updated=$(date -u "+%Y%m%d"                                                  \
    1.25                                -d "$(LC_ALL=C svn info ${sample_top}/samples/${sample}       \
    1.26                                      |GREP_OPTIONS= egrep '^Last Changed Date:'              \