Skip to content

Commit e1a77b5

Browse files
committed
lint
1 parent d9a4c66 commit e1a77b5

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

.evergreen/execute-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
5+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
66
ROOT_DIR=$(dirname $SCRIPT_DIR)
77

88

.evergreen/utils.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ setup_local_atlas() {
104104
wait "$CONTAINER_ID"
105105
EXPOSED_PORT=$(podman inspect --format='{{ (index (index .NetworkSettings.Ports "27017/tcp") 0).HostPort }}' "$CONTAINER_ID")
106106
export CONN_STRING="mongodb://127.0.0.1:$EXPOSED_PORT/?directConnection=true"
107-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
107+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
108108
echo "CONN_STRING=mongodb://127.0.0.1:$EXPOSED_PORT/?directConnection=true" > $SCRIPT_DIR/.local_atlas_uri
109109
}
110110

111111
fetch_local_atlas_uri() {
112-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
112+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
113113
. $SCRIPT_DIR/.local_atlas_uri
114114

115115
export CONN_STRING=$CONN_STRING
@@ -120,7 +120,7 @@ fetch_local_atlas_uri() {
120120
scaffold_atlas() {
121121
PYTHON_BINARY=$(find_python3)
122122

123-
EVERGREEN_PATH=$(realpath $(dirname ${BASH_SOURCE[0]}))
123+
EVERGREEN_PATH=$(realpath "$(dirname ${BASH_SOURCE[0]})")
124124
TARGET_DIR=$(pwd)/$DIR
125125
SCAFFOLD_SCRIPT=$EVERGREEN_PATH/scaffold_atlas.py
126126

chatgpt-retrieval-plugin/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
# chat-gpt-retrieval-plugin is a poetry run project
44

55
set -eu
66

77
# Get the MONGODB_URI and OPENAI_API_KEY.
8-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
8+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
99
ROOT_DIR=$(dirname $SCRIPT_DIR)
1010
. $ROOT_DIR/env.sh
1111

docarray/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
# Sets up a virtual environment (poetry)
44
# Runs the mongodb tests of the upstream repo
55

66
set -eu
77

88
# Get the MONGODB_URI.
9-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
9+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
1010
ROOT_DIR=$(dirname $SCRIPT_DIR)
1111

1212
. $ROOT_DIR/env.sh

langchain-python/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -eu
55

66
# Get the MONGODB_URI and OPENAI_API_KEY.
7-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
7+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
88
ROOT_DIR=$(dirname $SCRIPT_DIR)
99
. $ROOT_DIR/env.sh
1010

langgraph-python/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -eu
55

66
# Get the MONGODB_URI and OPENAI_API_KEY.
7-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
7+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
88
ROOT_DIR=$(dirname $SCRIPT_DIR)
99
. $ROOT_DIR/env.sh
1010

llama-index-python-kvstore/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
set -eu
44

55
# Get the MONGODB_URI and OPENAI_API_KEY.
6-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
6+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
77
ROOT_DIR=$(dirname $SCRIPT_DIR)
88
. $ROOT_DIR/env.sh
99

llama-index-python-vectorstore/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
set -eu
44

55
# Get the MONGODB_URI and OPENAI_API_KEY.
6-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
6+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
77
ROOT_DIR=$(dirname $SCRIPT_DIR)
88
. $ROOT_DIR/env.sh
99

semantic-kernel-csharp/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -eu
44

55
# Get the MONGODB_URI.
6-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
6+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
77
ROOT_DIR=$(dirname $SCRIPT_DIR)
88
. $ROOT_DIR/env.sh
99

semantic-kernel-python/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -eu
44

55
# Get the MONGODB_URI and OPENAI_API_KEY.
6-
SCRIPT_DIR=$(realpath $(dirname ${BASH_SOURCE[0]}))
6+
SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})")
77
ROOT_DIR=$(dirname $SCRIPT_DIR)
88
. $ROOT_DIR/env.sh
99

0 commit comments

Comments
 (0)