commit:     94d33fa2343d2b33f5199e0f54898c99cf7ad8de
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Feb 18 18:41:54 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Feb 18 18:42:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=94d33fa2

scripts/check-duplicates.sh: skip categories metadata.xml

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 scripts/check-duplicates.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/check-duplicates.sh b/scripts/check-duplicates.sh
index 85af7839..8c6743bb 100755
--- a/scripts/check-duplicates.sh
+++ b/scripts/check-duplicates.sh
@@ -9,12 +9,12 @@
 GENTOO_DIR="/var/db/repos/gentoo"
 GENTOO_PACKAGES=(
        $(find ${GENTOO_DIR} -mindepth 2 -maxdepth 2 -printf "%P\n" \
-               | sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/"
+               | sort | grep -Ev 
"^(.git|.github|metadata|profiles|scripts)/|metadata.xml"
        )
 )
 REPO_PACKAGES=(
        $(find . -mindepth 2 -maxdepth 2 -printf "%P\n" \
-               | sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/"
+               | sort | grep -Ev 
"^(.git|.github|metadata|profiles|scripts)/|metadata.xml"
        )
 )
 

Reply via email to