We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b888ecc commit 14f4a2dCopy full SHA for 14f4a2d
.evergreen/config.yml
@@ -91,7 +91,19 @@ functions:
91
params:
92
continue_on_err: true
93
# EVG-1105: Use s3.get extract_to: mongoc/
94
- script: "set -o xtrace && mkdir mongoc && tar xf build.tar.gz -C mongoc/"
+ script: |
95
+ set -o xtrace # Write all commands first to stderr
96
+ set -o errexit # Exit the script with error if any of the commands fail
97
+
98
+ mkdir mongoc
99
100
+ if command -v gtar 2>/dev/null; then
101
+ TAR=gtar
102
+ else
103
+ TAR=tar
104
+ fi
105
106
+ $TAR xf build.tar.gz -C mongoc/
107
108
"upload docs" :
109
- command: shell.exec
0 commit comments