r77777 - /scripts/AUTHOR

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Jul 23 17:11:48 UTC 2011


Author: dmn
Date: Sat Jul 23 17:11:46 2011
New Revision: 77777

URL: http://svn.debian.org/wsvn/?sc=1&rev=77777
Log:
add manual fixes to people with heavily renamed accounts

Modified:
    scripts/AUTHOR

Modified: scripts/AUTHOR
URL: http://svn.debian.org/wsvn/scripts/AUTHOR?rev=77777&op=diff
==============================================================================
--- scripts/AUTHOR (original)
+++ scripts/AUTHOR Sat Jul 23 17:11:46 2011
@@ -20,7 +20,13 @@
 	full_name=`getent passwd $author | cut -d: -f5 | sed 's/,.\+//'`;
 	if [ -z "$full_name" ]; then
 	    echo "Unable to get account information for $author" >& 2
-	    exit 1
+	    echo "  trying a hard-coded list of DDs" >& 2
+	    author=`echo $author | sed 's/xaviero/xoswald/; s/hanska/dapal/; s/kitterma/kitterman/; s/ra28145/jjr/; s/ryan52/ryan/; s/thialme/franck/'`
+	    full_name=`getent passwd $author | cut -d: -f5 | sed 's/,.\+//'`;
+	    if [ -z "$full_name" ]; then
+		echo "NO MORE WORKAROUNDS: Unable to get account information for $author" >& 2
+		exit 1
+	    fi
 	fi
     else
     	exit 1




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