Skip to content

Commit 9a07724

Browse files
authored
Update .evergreen/provision-atlas.sh
1 parent 69fc502 commit 9a07724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.evergreen/provision-atlas.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ DATABASE=$DATABASE \
4242
$PYTHON_BINARY $SCAFFOLD_SCRIPT
4343

4444
# If a search index configuration can be found, create the index
45-
if [ -f "$TARGET_DIR/indexes" ]; then
45+
if [ -d "$TARGET_DIR/indexes" ]; then
4646
for file in "$TARGET_DIR/indexes/*.json"; do
4747
$atlas deployments search indexes create --file $file --deploymentName $DIR
4848
done

0 commit comments

Comments
 (0)