Skip to content
Browse files

Merge pull request #44 from nexAkari/pullrequest

Fixed gravatars
  • Loading branch information...
2 parents 46647da + fb7c159 commit f9edb915eb3d8538fdca23372dc3a66679e168ae @icefox committed Jul 25, 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 f9edb91

Please sign in to comment.
Something went wrong with that request. Please try again.