Skip to content

Commit c6d763a

Browse files
authored
PHPC-1795 Remove xtrace from build scripts (#1212)
1 parent de42fab commit c6d763a

File tree

6 files changed

+2
-9
lines changed

6 files changed

+2
-9
lines changed

.evergreen/compile-unix.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
2-
set -o xtrace # Write all commands first to stderr
32
set -o errexit # Exit the script with error if any of the commands fail
43

54
# Supported/used environment variables:

.evergreen/compile-windows.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/sh
22
set -o igncr # Ignore CR in this script
3-
set -o xtrace # Write all commands first to stderr
43
set -o errexit # Exit the script with error if any of the commands fail
54

65
# Supported/used environment variables:

.evergreen/compile.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
2-
set -o xtrace # Write all commands first to stderr
32
set -o errexit # Exit the script with error if any of the commands fail
43

54

.evergreen/config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ functions:
8686
PROJECT_DIRECTORY: "$PROJECT_DIRECTORY"
8787
PREPARE_SHELL: |
8888
set -o errexit
89-
set -o xtrace
9089
export DRIVERS_TOOLS="$DRIVERS_TOOLS"
9190
export MONGO_ORCHESTRATION_HOME="$MONGO_ORCHESTRATION_HOME"
9291
export PROJECT_ORCHESTRATION_HOME="$PROJECT_ORCHESTRATION_HOME"
@@ -159,7 +158,7 @@ functions:
159158
- command: shell.exec
160159
params:
161160
continue_on_err: true
162-
script: "set -o xtrace && rm -rf ${PROJECT_DIRECTORY}"
161+
script: "rm -rf ${PROJECT_DIRECTORY}"
163162
- command: s3.get
164163
params:
165164
aws_key: ${aws_key}
@@ -171,7 +170,7 @@ functions:
171170
params:
172171
continue_on_err: true
173172
# EVG-1105: Use s3.get extract_to: ./
174-
script: "set -o xtrace && cd .. && rm -rf ${PROJECT_DIRECTORY} && mkdir ${PROJECT_DIRECTORY}/ && tar xf build.tar.gz -C ${PROJECT_DIRECTORY}/"
173+
script: "cd .. && rm -rf ${PROJECT_DIRECTORY} && mkdir ${PROJECT_DIRECTORY}/ && tar xf build.tar.gz -C ${PROJECT_DIRECTORY}/"
175174

176175
"exec compile script" :
177176
- command: shell.exec
@@ -454,7 +453,6 @@ tasks:
454453
type: test
455454
params:
456455
script: |
457-
set -o xtrace
458456
. ${DRIVERS_TOOLS}/.evergreen/download-mongodb.sh || true
459457
get_distro || true
460458
echo $DISTRO

.evergreen/run-ocsp-responder.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
# Fail on any command returning a non-zero exit status.
2626
set -o errexit
27-
set -o xtrace
2827

2928
USE_DELEGATE=${USE_DELEGATE:-OFF}
3029

.evergreen/run-tests.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
2-
set -o xtrace # Write all commands first to stderr
32
set -o errexit # Exit the script with error if any of the commands fail
43

54
# Supported/used environment variables:

0 commit comments

Comments
 (0)