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:
Fabiano Fidêncio 2023-07-15 10:10:19 +02:00
parent 5eacecffc3
commit 6742f3a898

View File

@ -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: