From 6742f3a89833b6b12b2b7abf3767a2b8ea373348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Sat, 15 Jul 2023 10:10:19 +0200 Subject: [PATCH] ci: Use `function` before each install_go.sh function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We've been doing this for all files moved to this repo. Signed-off-by: Fabiano FidĂȘncio --- tests/install_go.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/install_go.sh b/tests/install_go.sh index 423363a96..3827bb7b3 100755 --- a/tests/install_go.sh +++ b/tests/install_go.sh @@ -20,11 +20,11 @@ source "${script_dir}/common.bash" install_dest="/usr/local/" -finish() { +function finish() { rm -rf "$tmp_dir" } -usage(){ +function usage(){ exit_code="$1" cat <