mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-07 02:54:29 +00:00
Not all distros have `/bin/bash`, e.g. NixOS. Fixes: #3450 Signed-off-by: Sebastian Hasler <sebastian.hasler@stuvus.uni-stuttgart.de>
20 lines
393 B
Bash
Executable File
20 lines
393 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -e
|
|
|
|
cidir=$(dirname "$0")
|
|
vcdir="${cidir}/../src/runtime/virtcontainers/"
|
|
source "${cidir}/lib.sh"
|
|
export CI_JOB="${CI_JOB:-default}"
|
|
|
|
clone_tests_repo
|
|
|
|
if [ "${CI_JOB}" != "PODMAN" ]; then
|
|
echo "Install virtcontainers"
|
|
make -C "${vcdir}" && chronic sudo make -C "${vcdir}" install
|
|
fi
|