Fixed gravatars #44

Merged
merged 1 commit into from Jul 25, 2011
Jump to file
+1 −1
Split
View
@@ -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