aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-02-18 19:43:03 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-02-18 19:43:03 +0100
commite8a40cc727636417091fe6b7633bb823247c0a66 (patch)
tree19fb17103fc6c3fba01fe1d065da10dd11f538be /scripts/check-duplicates.sh
parent.github/workflows/pkgcheck.yml: use the official pkgcore/pkgcheck-action (diff)
downloadsci-e8a40cc727636417091fe6b7633bb823247c0a66.tar.gz
sci-e8a40cc727636417091fe6b7633bb823247c0a66.tar.bz2
sci-e8a40cc727636417091fe6b7633bb823247c0a66.zip
scripts/check-duplicates.sh: skip categories metadata.xml
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'scripts/check-duplicates.sh')
-rwxr-xr-xscripts/check-duplicates.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-duplicates.sh b/scripts/check-duplicates.sh
index 378333767..d8e56463e 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"
)
)