Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
check_description.sh: don't fix "etc." case (thanks to Arfrever)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information
Sergei Trofimovich committed Aug 10, 2014
1 parent 24aa42e commit 1d65689
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions check_description.sh
Expand Up @@ -4,6 +4,10 @@ find . -type f -name '*.ebuild' | while read e
do
while read l
do
# 20 ebuilds have "etc."
# http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commitdiff;h=bbb34efebd0bfc0b231073d00b863b3e3ebd918a
[[ $l == 'DESCRIPTION='*'etc."' ]] && continue

if [[ $l == 'DESCRIPTION='*'."' ]]; then
echo "$e: fixing '.' in description"
sed -i -e '/^DESCRIPTION=/ { s/."$/"/ }' "$e"
Expand Down

0 comments on commit 1d65689

Please sign in to comment.