aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-02-17 16:21:09 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-02-17 16:22:02 +0100
commit1f3eb4b89254b0b081b38c2e42a5d4dd3350c465 (patch)
tree49bffad5b899a7be4d0220f5e870a06979261824 /scripts
parent.github/workflows/duplicates.yml: add script to check for potential duplicates (diff)
downloadguru-1f3eb4b89254b0b081b38c2e42a5d4dd3350c465.tar.gz
guru-1f3eb4b89254b0b081b38c2e42a5d4dd3350c465.tar.bz2
guru-1f3eb4b89254b0b081b38c2e42a5d4dd3350c465.zip
scripts/check-duplicates.sh: run in correct dir
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-duplicates.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-duplicates.sh b/scripts/check-duplicates.sh
index 14965961e..66d1bb9a1 100755
--- a/scripts/check-duplicates.sh
+++ b/scripts/check-duplicates.sh
@@ -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)/")