-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD
git submodule update
+if [[ $JOB_NAME == "lf-infra-lftools-rtd-verify-any" ]]; then
+ # Install patchset lftools
+ python3 -m pip install --user -e .
+fi
+
echo "---> Generating docs"
cd "$WORKSPACE"
tox -edocs