mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-26 18:43:06 +00:00
tools: Fix shellcheck issues in kata-deploy-copy-libseccomp-installer.sh
Fix shellcheck warnings and notes identified by running shellcheck --severity=style. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
[ -z "${DEBUG}" ] || set -x
|
||||
[[ -z "${DEBUG}" ]] || set -x
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
@@ -19,4 +19,4 @@ cp "${install_libseccomp_script_src}" "${install_libseccomp_script_dest}"
|
||||
|
||||
# We don't have to import any other file, as we're passing
|
||||
# the env vars needed for installing libseccomp and gperf.
|
||||
sed -i -e '/^source.*$/d' ${install_libseccomp_script_dest}
|
||||
sed -i -e '/^source.*$/d' "${install_libseccomp_script_dest}"
|
||||
|
||||
Reference in New Issue
Block a user