r77772 - /scripts/AUTHOR

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Jul 23 16:19:18 UTC 2011


Author: dmn
Date: Sat Jul 23 16:19:16 2011
New Revision: 77772

URL: http://svn.debian.org/wsvn/?sc=1&rev=77772
Log:
fix extraction of guest accounts email

Modified:
    scripts/AUTHOR

Modified: scripts/AUTHOR
URL: http://svn.debian.org/wsvn/scripts/AUTHOR?rev=77772&op=diff
==============================================================================
--- scripts/AUTHOR (original)
+++ scripts/AUTHOR Sat Jul 23 16:19:16 2011
@@ -23,7 +23,7 @@
 fi
 
 if echo $author | grep -E -q -e '-guest$'; then
-    email=`$CURL http://alioth.debian.org/users/$author/ | grep sendmessage|grep touser|grep nospam|sed 's,.*<strong><a href[^>]\+>,,; s/<.*//; s/ @nospam@ /@/'`;
+    email=`$CURL http://alioth.debian.org/users/$author/ | grep sendmessage|grep touser|grep nospam|sed 's,.*<strong>.*<a href[^>]\+>,,; s/<.*//; s/ @nospam@ /@/'`;
     
     if [ -z "$email" ]; then
         email="$author at users.alioth.debian.org";




More information about the Pkg-perl-cvs-commits mailing list