Reuse the NEWSDIR variable & avoid PORTDIR
This commit is contained in:
parent
7b541df297
commit
0640f87285
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user