Add XDG_REPOS_HOME variable
This commit is contained in:
parent
b0c2021d92
commit
2343a739da
7 changed files with 11 additions and 9 deletions
|
@ -3,7 +3,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
|
||||
cd "${REPOS}/traefik-development"
|
||||
cd "${XDG_REPOS_DIR}/traefik-development"
|
||||
|
||||
docker compose up --detach
|
||||
docker container ps
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
set -o errexit
|
||||
set -o nounset
|
||||
|
||||
dirs=$(find "$REPOS" -mindepth 1 -maxdepth 2 -type d -name .git -not -path '*/*.old/*')
|
||||
dirs=$(find "$XDG_REPOS_DIR" -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