From 9f56eee054466066a336b0f4a4807210bc961b73 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Tue, 23 Jul 2024 13:04:11 +0200 Subject: [PATCH] Fix escaping backslashes when building orchestration file --- .evergreen/run-orchestration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/run-orchestration.sh b/.evergreen/run-orchestration.sh index e53442a7..e3d976da 100755 --- a/.evergreen/run-orchestration.sh +++ b/.evergreen/run-orchestration.sh @@ -118,7 +118,7 @@ fi echo "ORCHESTRATION_FILE=$ORCHESTRATION_FILE" # Handle absolute path. -perl -p -i -e "s|ABSOLUTE_PATH_REPLACEMENT_TOKEN|${DRIVERS_TOOLS}|g" $ORCHESTRATION_FILE +perl -p -i -e "s|ABSOLUTE_PATH_REPLACEMENT_TOKEN|$(echo $DRIVERS_TOOLS | sed 's/\\/\\\\\\\\/g')|g" $ORCHESTRATION_FILE cat $ORCHESTRATION_FILE cat $MONGO_ORCHESTRATION_HOME/orchestration.config