scripts/check-duplicates.sh: run in correct dir

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2021-02-17 16:21:09 +01:00
parent 16f5492d54
commit 1f3eb4b892
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
name: repoman
name: duplicates
on:
push:

View File

@@ -10,7 +10,7 @@
printf "\nChecking for duplicates....\n"
gentoo_location="/var/db/repos/gentoo"
guru_location="../"
guru_location="."
gentoo_packs=$(find ${gentoo_location} -mindepth 2 -maxdepth 2 -printf "%P\n" | sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/")
guru_packs=$(find ${guru_location} -mindepth 2 -maxdepth 2 -printf "%P\n" | sort | grep -Ev "^(.git|.github|metadata|profiles|scripts)/")