diff --git a/scripts/run_postgres b/scripts/run_postgres index b54f897981..aea056029b 100755 --- a/scripts/run_postgres +++ b/scripts/run_postgres @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # on Windows, docker run needs to be prefixed by winpty -if [[ "$OSTYPE" == "msys" ]]; then +if [ "$OSTYPE" == "msys" ]; then DOCKER="winpty docker" else DOCKER=${DOCKER:-docker} diff --git a/scripts/run_tests b/scripts/run_tests index 2245326840..9827605f57 100755 --- a/scripts/run_tests +++ b/scripts/run_tests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cd $(dirname $0) @@ -7,7 +7,7 @@ docker build -t aries-cloudagent-test -f ../docker/Dockerfile.test .. || exit 1 if [ ! -d ../test-reports ]; then mkdir ../test-reports; fi # on Windows, docker run needs to be prefixed by winpty -if [[ "$OSTYPE" == "msys" ]]; then +if [ "$OSTYPE" == "msys" ]; then DOCKER="winpty docker" else DOCKER="docker" diff --git a/scripts/run_tests_indy b/scripts/run_tests_indy index 42a0243117..1cada05a62 100755 --- a/scripts/run_tests_indy +++ b/scripts/run_tests_indy @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cd $(dirname $0) @@ -7,7 +7,7 @@ docker build -t aries-cloudagent-test -f ../docker/Dockerfile.test-indy .. || ex if [ ! -d ../test-reports ]; then mkdir ../test-reports; fi # on Windows, docker run needs to be prefixed by winpty -if [[ "$OSTYPE" == "msys" ]]; then +if [ "$OSTYPE" == "msys" ]; then DOCKER="winpty docker" else DOCKER="docker"