Reuse the NEWSDIR variable & avoid PORTDIR

This commit is contained in:
Marios Titas 2015-08-21 22:40:55 +01:00
parent 7b541df297
commit 0640f87285
1 changed files with 1 additions and 1 deletions

View File

@ -14,5 +14,5 @@ if [[ ${repository_name} == "gentoo" ]]; then
else
git clone -q https://anongit.gentoo.org/git/data/gentoo-news.git "${NEWSDIR}"
fi
eend $? "Try to remove ${PORTDIR}/metadata/news"
eend $? "Try to remove ${NEWSDIR}"
fi