Skip to content

Commit 678c286

Browse files
committed
src/main/scripts/ci/common.sh: rename local variable to lower cased.
No functional changes.
1 parent 8c7d181 commit 678c286

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/scripts/ci/common.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
print_status() {
2-
local FAIL_FILE="$1"
3-
local MSG="$2"
2+
local fail_file="$1"
3+
local msg="$2"
44

5-
printf "* $MSG... "
6-
if [ -f "$FAIL_FILE" ]; then
5+
printf "* $msg... "
6+
if [ -f "$fail_file" ]; then
77
echo "\033[1;31mFAIL\033[0m"
88
else
99
echo "\033[1;32mSUCCESS\033[0m"
1010
fi
1111
}
1212

1313
print_log() {
14-
local LOG_FILE="$1"
15-
local MSG="$2"
14+
local log_file="$1"
15+
local msg="$2"
1616

1717
echo
18-
echo "=====> \033[1;33m$MSG\033[0m"
18+
echo "=====> \033[1;33m$msg\033[0m"
1919
echo
20-
egrep -v '^\[INFO\] Download(ing|ed):' "$LOG_FILE"
20+
egrep -v '^\[INFO\] Download(ing|ed):' "$log_file"
2121
}

0 commit comments

Comments
 (0)