mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
gpu: Add set -u to scripts
Make the scripts more robust by failing on unset varaibles Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
parent
f153229865
commit
98e0dc1676
@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#!/bin/bash
|
||||
set -xe
|
||||
set -xeuo pipefail
|
||||
|
||||
shopt -s nullglob
|
||||
shopt -s extglob
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
set -e
|
||||
set -euo pipefail
|
||||
[ -n "$DEBUG" ] && set -x
|
||||
|
||||
readonly BUILD_DIR="/kata-containers/tools/packaging/kata-deploy/local-build/build/"
|
||||
|
Loading…
Reference in New Issue
Block a user