chore(scripts): make shellcheck happy
This commit is contained in:
parent
538f843f14
commit
62dd815807
|
@ -18,7 +18,7 @@ RELEASE="$(grep -E "define.+EMQX_RELEASE.+${EDITION}" include/emqx_release.hrl |
|
|||
git_exact_vsn() {
|
||||
local tag
|
||||
tag="$(git describe --tags --match "[e|v]*" --exact 2>/dev/null)"
|
||||
echo "$tag" | sed 's/^[v|e]//g'
|
||||
echo "${tag#[e|v]}"
|
||||
}
|
||||
|
||||
GIT_EXACT_VSN="$(git_exact_vsn)"
|
||||
|
|
|
@ -13,4 +13,5 @@ if [ "$1" != "emqx" ]; then
|
|||
BASEDIR="$1"
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2038
|
||||
find "${BASEDIR}/test/props" -name "prop_*.erl" 2>/dev/null | xargs -I{} basename {} .erl | xargs | tr ' ' ','
|
||||
|
|
|
@ -12,4 +12,5 @@ TESTDIR="test"
|
|||
if [ "$1" != "emqx" ]; then
|
||||
TESTDIR="$1/test"
|
||||
fi
|
||||
# shellcheck disable=SC2038
|
||||
find "${TESTDIR}" -name "*_SUITE.erl" 2>/dev/null | xargs | tr ' ' ','
|
||||
|
|
Loading…
Reference in New Issue