summaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh2
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