mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 23:11:57 +00:00
shellcheck: Fix shellcheck SC2070
> -n doesn't work with unquoted arguments. Quote or use [[ ]] Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
dbba6b056b
commit
ed8347c868
@ -306,7 +306,7 @@ detect_libseccomp_info()
|
|||||||
export GPERF_VERSION="$(get_package_version_from_kata_yaml "$gperf_ver_yq_path")"
|
export GPERF_VERSION="$(get_package_version_from_kata_yaml "$gperf_ver_yq_path")"
|
||||||
export GPERF_URL="$(get_package_version_from_kata_yaml "$gperf_url_yq_path")"
|
export GPERF_URL="$(get_package_version_from_kata_yaml "$gperf_url_yq_path")"
|
||||||
|
|
||||||
[ -n "$LIBSECCOMP_VERSION" ] && [ -n $GPERF_VERSION ] && [ -n "$LIBSECCOMP_URL" ] && [ -n $GPERF_URL ]
|
[ -n "$LIBSECCOMP_VERSION" ] && [ -n "$GPERF_VERSION" ] && [ -n "$LIBSECCOMP_URL" ] && [ -n "$GPERF_URL" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
before_starting_container() {
|
before_starting_container() {
|
||||||
|
Loading…
Reference in New Issue
Block a user