Skip to content

Commit c6e80a1

Browse files
johnbleyCodeBlanch
andauthored
Use set -e in shell scripts (#5507)
Co-authored-by: Mikel Blanchard <[email protected]>
1 parent 93237f1 commit c6e80a1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/OpenTelemetry.SemanticConventions/scripts/semantic-conventions/generate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
45
ROOT_DIR="${SCRIPT_DIR}/../../"

test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/create-cert.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
# Generate self-signed certificate for the collector
45
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 \

test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/run-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34
# Trust the self-signed certificated used by the collector
45
cp /cfg/otel-collector.crt /usr/local/share/ca-certificates/

0 commit comments

Comments
 (0)