From a7197142145ee15c3b3d7434cef49687221ba468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Zwoli=C5=84ski?= Date: Fri, 30 Aug 2024 10:32:43 +0200 Subject: [PATCH] chore: make bash path generic in tokens script (#374) --- tools/gen_auth_tokens.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/gen_auth_tokens.sh b/tools/gen_auth_tokens.sh index 2a2acbc1..a31e81a8 100755 --- a/tools/gen_auth_tokens.sh +++ b/tools/gen_auth_tokens.sh @@ -1,5 +1,5 @@ -#!/bin/bash -set -euo pipefail +#!/usr/bin/env bash +set -euxo pipefail DOTENV=".env" DOTENV_SAMPLE=".env.sample" @@ -8,7 +8,7 @@ DOCKER_COMPOSE_FILE="./ci/docker-compose.yml" wait_for_docker_setup() { local services_running local services_expected - + services_expected="$(docker compose -f "$DOCKER_COMPOSE_FILE" config --services | wc -l)" services_running="$(docker compose -f "$DOCKER_COMPOSE_FILE" ps --services | wc -l)"