Permalink
Browse files

Fixed gravatars

  • Loading branch information...
1 parent 46647da commit fb7c159b7a082bf3d307726076f8411da8d5250b @nexAkari nexAkari committed Jul 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-achievements
View
2 git-achievements
@@ -395,7 +395,7 @@ echo "
</head>
<body>
" > index.html
- mailhash=`git config --global user.email | xargs echo -n | tr '[A-Z]' '[a-z]' | openssl md5`
+ mailhash=`git config --global user.email | xargs echo -n | tr '[A-Z]' '[a-z]' | openssl md5 | sed -e 's/.* //'`
echo "<h2>${user}'s Git Achievements <img src='http://www.gravatar.com/avatar/${mailhash}'/></h2>" >> index.html
# STATS

0 comments on commit fb7c159

Please sign in to comment.