Skip to content

Commit

Permalink
trim whitespaces in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 20, 2014
1 parent 302ad06 commit 4483300
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/create_changelog.sh
Expand Up @@ -7,7 +7,8 @@ if test -d ".git"; then
awk '/^Author/ {sub(/\\$/,""); getline t; print $0 t; next}; 1' | \
sed -e 's/^Author: //g' | \
sed -e 's/>Date: \([0-9]*-[0-9]*-[0-9]*\)/>\t\1/g' | \
sed -e 's/^\(.*\) \(\)\t\(.*\)/\3 \1 \2/g' > ChangeLog
sed -e 's/^\(.*\) \(\)\t\(.*\)/\3 \1 \2/g' | \
sed -e 's/[ ]*$//g' > ChangeLog
exit 0
else
echo "No git repository present."
Expand Down

0 comments on commit 4483300

Please sign in to comment.