Grep within metadata.xml too.

This commit is contained in:
Michał Górny 2010-08-14 15:55:51 +02:00
parent 6fbc0a0042
commit 51e3d9cd78

View File

@ -453,7 +453,7 @@ main() {
say "${GREEN}Grepping for package references...${RESET}"
# -n is for line numbers, -C would be non-POSIX
if grep -n "${regex}" ${SC_ROOT}*/*/*.ebuild ${SC_ROOT}profiles/package.mask; then
if grep -n "${regex}" ${SC_ROOT}*/*/*.ebuild ${SC_ROOT}*/*/metadata.xml ${SC_ROOT}profiles/package.mask; then
echo
[ -n "${force}" ] || die 'Please remove the removed package references or use --force.'
else