diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-01-22 23:08:31 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-01-22 23:08:31 +0500 |
commit | 580d1b4f1636358868be0269330cdb847375d24b (patch) | |
tree | 54c686bfe1f2a38c4ad796af96a621cc72a51cef /scripts | |
parent | dev-crystal/crystal-pg: sync with databases.eclass (diff) | |
download | guru-580d1b4f1636358868be0269330cdb847375d24b.tar.gz guru-580d1b4f1636358868be0269330cdb847375d24b.tar.bz2 guru-580d1b4f1636358868be0269330cdb847375d24b.zip |
check-duplicates.sh: skip "eclass/tests"
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-duplicates.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/check-duplicates.sh b/scripts/check-duplicates.sh index 24c7546ed..a094dbf54 100755 --- a/scripts/check-duplicates.sh +++ b/scripts/check-duplicates.sh @@ -5,15 +5,17 @@ # This checks for potential and exact package matches within an overlay & ::gentoo # Note that this is not going to be 100% accurate +EXCLUDE='^(.git|.github|metadata|profiles|scripts)/|^eclass/tests$|metadata.xml' + 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)/|metadata.xml" + | sort | grep -Ev "${EXCLUDE}" ) ) REPO_PACKAGES=( $(find . -mindepth 2 -maxdepth 2 -printf "%P\n" \ - | sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/|metadata.xml" + | sort | grep -Ev "${EXCLUDE}" ) ) |