diff --git a/tools/tox-log-command.sh b/tools/tox-log-command.sh index b3269f30d2..427b16fed4 100755 --- a/tools/tox-log-command.sh +++ b/tools/tox-log-command.sh @@ -17,7 +17,7 @@ # License for the specific language governing permissions and limitations # under the License. -cmd="$1" +cmd=$(basename "$1" | cut -f1 -d.) shift if [ -z "$LOGDIR" ]; then diff --git a/tox.ini b/tox.ini index 48286f4353..6076eee349 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ commands = deps = yamllint==1.4.1 commands = - {toxinidir}/tools/run_yamllint.sh + {toxinidir}/tools/tox-log-command.sh {toxinidir}/tools/run_yamllint.sh {toxinidir}/tools/tox-log-command.sh validate-request {posargs} [testenv:list-changes]