Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 518fcda

Browse files
authored
Use bash shell where not already in use (#212)
1 parent 430e844 commit 518fcda

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ functions:
103103
add_expansions_to_env: true
104104
script: |
105105
if [ "Windows_NT" = "$OS" ]; then
106-
C:/cygwin/bin/sh integrations/${DRIVER_DIRNAME}/install-driver.sh
106+
C:/cygwin/bin/bash integrations/${DRIVER_DIRNAME}/install-driver.sh
107107
else
108108
./integrations/${DRIVER_DIRNAME}/install-driver.sh
109109
fi
@@ -129,7 +129,7 @@ functions:
129129
include_expansions_in_env: ["MONGODB_VERSION"]
130130
working_dir: astrolabe-src
131131
script: |
132-
sh .evergreen/run-mongodb.sh
132+
.evergreen/run-mongodb.sh
133133
# Validate the workload executor against the local MongoDB instance.
134134
- command: subprocess.exec
135135
type: test

.evergreen/run-mongodb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22
set -o xtrace
33

44
# User configurable-options
@@ -32,4 +32,4 @@ for i in $(find ${DRIVERS_TOOLS}/.evergreen -name \*.sh); do
3232
done
3333

3434
# Run mongo-orchestration
35-
sh $DRIVERS_TOOLS/.evergreen/run-orchestration.sh
35+
$DRIVERS_TOOLS/.evergreen/run-orchestration.sh

integrations/python/pymongo/install-driver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22
set -o xtrace
33

44
"$PYTHON_BINARY" --version

kubernetes/kind/create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22
set -o xtrace
33
set -e
44

0 commit comments

Comments
 (0)