diff options
author | 2020-03-02 16:27:46 +0800 | |
---|---|---|
committer | 2020-03-02 16:27:56 +0800 | |
commit | ce7144ab2975f20a674b58688f379f68982de6fe (patch) | |
tree | 6125cc4754bc98ff183b63ddd6d936d18dcc9091 /mvn-phase-script.sh | |
parent | 81fe78a52e07f39b87a7644b284974a57854bd9f (diff) |
Fix sonar error
Change-Id: I995036cd90f5e08e3d6e26cfaae7d3de55023785
Issue-ID: VFC-1621
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-x | mvn-phase-script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |