Skip to content

Commit

Permalink
Fix escaping backslashes when building orchestration file
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Jul 23, 2024
1 parent b952617 commit 9f56eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .evergreen/run-orchestration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f56eee

Please sign in to comment.