From ce7144ab2975f20a674b58688f379f68982de6fe Mon Sep 17 00:00:00 2001 From: yangyan Date: Mon, 2 Mar 2020 16:27:46 +0800 Subject: Fix sonar error Change-Id: I995036cd90f5e08e3d6e26cfaae7d3de55023785 Issue-ID: VFC-1621 Signed-off-by: yangyan --- mvn-phase-script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mvn-phase-script.sh') diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh index 6b41abf1..13b755e8 100755 --- a/mvn-phase-script.sh +++ b/mvn-phase-script.sh @@ -52,7 +52,7 @@ run_tox_test() echo "====Sonar job, need execute tox." TOXINIS=$(find . -name "tox.ini") for TOXINI in "${TOXINIS[@]}"; do - DIR=$(echo "$TOXINI" | rev | cut -f2- -d'/' | rev) + DIR=$(echo "$TOXINI" | rev | cut -f3- -d'/' | rev) cd "${CURDIR}/${DIR}" rm -rf ./venv-tox ./.tox virtualenv ./venv-tox -- cgit 1.2.3-korg