Use $REPOS
variable consistently in scripts
This commit is contained in:
parent
c8d21d28c1
commit
a2ed026258
4 changed files with 5 additions and 5 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue