diff -r 6add2c0b63cd -r 45ddf096def1 scripts/showSamples.sh --- a/scripts/showSamples.sh Sun Sep 14 16:54:12 2008 +0000 +++ b/scripts/showSamples.sh Thu Oct 23 13:45:48 2008 +0000 @@ -83,17 +83,17 @@ [ "${CT_CC_LANG_OBJCXX}" = "y" ] && printf ", Objective-C++" [ -n "${CT_CC_LANG_OTHERS}" ] && printf "\\\\\\\\ Others: ${CT_CC_LANG_OTHERS}" printf " " - if [ -f "${sample_top}/samples/${sample}/reported.by" ]; then - ( . "${sample_top}/samples/${sample}/reported.by" + ( . "${sample_top}/samples/${sample}/reported.by" + if [ -n "${reporter_name}" ]; then if [ -n "${reporter_url}" ]; then printf "| [[${reporter_url}|${reporter_name}]] " else printf "| ${reporter_name} " fi - ) - else - printf "| [[http://ymorin.is-a-geek.org/|YEM]] " - fi + else + printf "| [[http://ymorin.is-a-geek.org/|YEM]] " + fi + ) sample_updated=$(date -u "+%Y%m%d" \ -d "$(LC_ALL=C svn info ${sample_top}/samples/${sample} \ |GREP_OPTIONS= egrep '^Last Changed Date:' \