mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
ci: Use function
before each install_go.sh function
We've been doing this for all files moved to this repo. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
5eacecffc3
commit
6742f3a898
@ -20,11 +20,11 @@ source "${script_dir}/common.bash"
|
|||||||
|
|
||||||
install_dest="/usr/local/"
|
install_dest="/usr/local/"
|
||||||
|
|
||||||
finish() {
|
function finish() {
|
||||||
rm -rf "$tmp_dir"
|
rm -rf "$tmp_dir"
|
||||||
}
|
}
|
||||||
|
|
||||||
usage(){
|
function usage(){
|
||||||
exit_code="$1"
|
exit_code="$1"
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage:
|
Usage:
|
||||||
|
Loading…
Reference in New Issue
Block a user