mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-16 07:05:14 +00:00
release: Define a default value for destdir
We want to isupport calling individual functions from the script, independendent of the actual script being called. Define a default value for $destdir. Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
7a932cf3a9
commit
5307b03adb
@ -24,6 +24,9 @@ workdir="${WORKDIR:-$PWD}"
|
|||||||
# that are local
|
# that are local
|
||||||
test_local="false"
|
test_local="false"
|
||||||
|
|
||||||
|
destdir="${workdir}/kata-static"
|
||||||
|
mkdir -p "${destdir}"
|
||||||
|
|
||||||
exit_handler() {
|
exit_handler() {
|
||||||
[ -d "${tmp_dir}" ] || sudo rm -rf "${tmp_dir}"
|
[ -d "${tmp_dir}" ] || sudo rm -rf "${tmp_dir}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user