diff --git a/Makefile b/Makefile index 6720b30e44f1..59fd30158bdb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SHELL=/bin/bash -o pipefail +SHELL=/usr/bin/env bash -o pipefail # EXECUTABLES = docker-compose docker node npm go # K := $(foreach exec,$(EXECUTABLES),\ diff --git a/script/add-down-migrations.sh b/script/add-down-migrations.sh index 57bf58254f66..d2339af7879b 100755 --- a/script/add-down-migrations.sh +++ b/script/add-down-migrations.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script adds empty down migrations for any migration that misses them. # Adding them is necessary because if the down migration is missing, the @@ -17,4 +17,4 @@ for f in $(find . -name "*.up.sql"); do echo "Adding empty down migration for $f" touch $dir/$migra_name.down.sql fi -done \ No newline at end of file +done diff --git a/script/debug-entrypoint.sh b/script/debug-entrypoint.sh index 28b0e15c1eab..7fd87d1a730f 100755 --- a/script/debug-entrypoint.sh +++ b/script/debug-entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash FILE_CHANGE_LOG_FILE=/tmp/changes.log SERVICE_ARGS="$@" diff --git a/script/test-envs.sh b/script/test-envs.sh index 426034b99a62..28ba4e3d584e 100755 --- a/script/test-envs.sh +++ b/script/test-envs.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash export TEST_DATABASE_MYSQL="mysql://root:secret@(127.0.0.1:3444)/mysql?parseTime=true&multiStatements=true" export TEST_DATABASE_POSTGRESQL="postgres://postgres:secret@127.0.0.1:3445/postgres?sslmode=disable" diff --git a/script/testenv.sh b/script/testenv.sh index 671c5abc1b43..15977c10fc8b 100755 --- a/script/testenv.sh +++ b/script/testenv.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash docker rm -f kratos_test_database_mysql kratos_test_database_postgres kratos_test_database_cockroach kratos_test_hydra || true docker run --platform linux/amd64 --name kratos_test_database_mysql -p 3444:3306 -e MYSQL_ROOT_PASSWORD=secret -d mysql:8.0.34 diff --git a/test/e2e/run.sh b/test/e2e/run.sh index a5b405fe1d2e..863a70bb910b 100755 --- a/test/e2e/run.sh +++ b/test/e2e/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "Running Ory Kratos E2E Tests..." echo ""