Skip to content

Commit 1eebf3e

Browse files
committed
minor: skip unnecessary copy on unix
1 parent 3795b38 commit 1eebf3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.evergreen/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,9 @@ functions:
568568
done
569569
570570
# Copy client certificate because symlinks do not work on Windows.
571-
cp ${DRIVERS_TOOLS}/.evergreen/x509gen/client.pem ${MONGO_ORCHESTRATION_HOME}/lib/client.pem
571+
if [ "Windows_NT" = "$OS" ]; then # Magic variable in cygwin
572+
cp ${DRIVERS_TOOLS}/.evergreen/x509gen/client.pem ${MONGO_ORCHESTRATION_HOME}/lib/client.pem
573+
fi
572574
573575
"make files executable":
574576
- command: shell.exec

0 commit comments

Comments
 (0)