and another fix.
This commit is contained in:
mag37
2023-03-01 20:43:06 +01:00
committed by GitHub
parent 09c1b769ca
commit 3e60468d47

View File

@ -181,7 +181,7 @@ if [ -n "$GotUpdates" ] ; then
ComposeFile="$ContPath/$ContConfigFile"
fi
### cd to the compose-file directory to account for people who use relative volumes, eg - ${PWD}/data:data
cd "$(dirname "${ComposeFile}")" || { echo "Path error - skipping $i" ; continue ; }
cd "$(dirname "${ContPath}")" || { echo "Path error - skipping $i" ; continue ; }
docker pull "$ContImage"
### Reformat for multi-compose:
IFS=',' read -r -a Confs <<< "$ContConfigFile" ; unset IFS