aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/check-duplicates.sh6
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}"
)
)