Skip to content

Commit

Permalink
chore: make bash path generic in tokens script (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvolin authored Aug 30, 2024
1 parent f119595 commit a719714
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/gen_auth_tokens.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -euo pipefail
#!/usr/bin/env bash
set -euxo pipefail

DOTENV=".env"
DOTENV_SAMPLE=".env.sample"
Expand All @@ -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)"

Expand Down

0 comments on commit a719714

Please sign in to comment.