Use consistent syntax for Bash function declarations

This commit is contained in:
Kamil Śliwak
2021-10-28 13:49:10 +02:00
parent 8b69907f9b
commit 210abeba3c
16 changed files with 44 additions and 43 deletions
@@ -38,7 +38,7 @@ ORANGE='\033[0;33m'
CYAN='\033[0;36m'
RESET='\033[0m'
function generate_bytecode_report() {
function generate_bytecode_report {
rm -rf /tmp/report.txt
local EXIT_STATUS
@@ -74,7 +74,7 @@ function generate_bytecode_report() {
echo -e "${RED}FAILURE${RESET}"
fi
}
function clean_git_checkout() {
function clean_git_checkout {
git submodule deinit --all -q
git reset --hard HEAD --quiet
git clean -f -d -x --quiet
@@ -82,7 +82,7 @@ function clean_git_checkout() {
git submodule init -q
git submodule update -q
}
function process_tag() {
function process_tag {
local TAG=$1
cd /src
# Checkout the historic commit instead of the tag directly.