Use $REPOS variable consistently in scripts

This commit is contained in:
Oliver Davies 2024-07-10 12:50:00 +01:00
parent c8d21d28c1
commit a2ed026258
4 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@
set -o errexit
set -o nounset
dirs=$(find ~/Code -mindepth 1 -maxdepth 2 -type d -name .git -not -path '*/*.old/*')
dirs=$(find "$REPOS" -mindepth 1 -maxdepth 2 -type d -name .git -not -path '*/*.old/*')
for dir in $dirs; do
repo_path="${dir%/.git}"