Skip to content

Commit cb076d7

Browse files
committed
Set -u later
1 parent b20033f commit cb076d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.buildkite/scripts/cuvs-snapshot/configure.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
#!/bin/bash
22

3-
set -euo pipefail
3+
set -eo pipefail
44

55
if [[ -f /etc/profile.d/elastic-nvidia.sh ]]; then
66
export JAVA_HOME="$HOME/.java/openjdk24"
77
export PATH="$JAVA_HOME/bin:$PATH"
88

99
# Setup LD_LIBRARY_PATH, PATH
10+
1011
source /etc/profile.d/elastic-nvidia.sh
1112
fi
1213

14+
set -u
15+
1316
# Not running this before the tests results in an error when running the tests
1417
# No idea why...
1518
nvidia-smi

0 commit comments

Comments
 (0)