diff options
author | dyh <dengyuanhong@chinamobile.com> | 2020-03-11 15:16:18 +0800 |
---|---|---|
committer | dyh <dengyuanhong@chinamobile.com> | 2020-03-11 15:19:38 +0800 |
commit | 9275a20370886fbcec4a4a85b2d989c1f3593e84 (patch) | |
tree | a82e1003331850cb3accd54d2360d2d063ac9aae | |
parent | 1a1e716e6cecb83655e4dde747e5f18331254855 (diff) |
fix sonar error
Change-Id: I7c904de9e84bc4f76c1f197adace9fbac8c7f1db
Issue-ID: MODELING-342
Signed-off-by: dyh <dengyuanhong@chinamobile.com>
-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 6b41abf..13b755e 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 |