diff --git a/scripts/deploy.sh b/scripts/deploy.sh index e78907d..17dd28d 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -13,7 +13,7 @@ cd "$BASE" if [ -n "$STACK" ]; then dirs="$STACK" else - dirs="$(find "$HOST" -mindepth 2 -maxdepth 2 -name docker-compose.yml -printf '%h\n' | cut -d/ -f2 | sort -u)" + dirs="$(find "$HOST" -mindepth 2 -maxdepth 2 -name docker-compose.yml | cut -d/ -f2 | sort -u)" # Remove stale stacks whose directories were deleted from the repo stale_dirs="$(docker ps -a \