Skip to content

Commit

Permalink
Merge pull request #72 from dongwangdw/fix-shell
Browse files Browse the repository at this point in the history
fix shell inconsistency
  • Loading branch information
swcurran authored Jul 16, 2019
2 parents 0336698 + 8e23ffb commit 0ee2052
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions scripts/run_postgres
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_tests
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)

Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_tests_indy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

cd $(dirname $0)

Expand All @@ -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"
Expand Down

0 comments on commit 0ee2052

Please sign in to comment.