mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-26 18:43:06 +00:00
tools: Fix shellcheck issues in build-static-tools.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:
@@ -10,10 +10,11 @@ set -o pipefail
|
||||
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
source "${script_dir}/../../scripts/lib.sh"
|
||||
|
||||
build_tool_from_source() {
|
||||
RUSTFLAGS=" -C link-self-contained=yes"
|
||||
export RUSTFLAGS=" -C link-self-contained=yes"
|
||||
export LIBC=musl
|
||||
|
||||
/usr/bin/install_libseccomp.sh /opt /opt
|
||||
|
||||
Reference in New Issue
Block a user