X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Fsetup-ansible-rpm.sh;h=7cac73e582e3be0d47254e92365bee2dcfe28139;hb=0b020312fb41c7adb6da32214e65a57a3dd8f702;hp=a70c89711c89458981035179079494174a65f439;hpb=70e5c3c0d632d4a22415536b151cbafce5acfa96;p=releng%2Fbuilder.git diff --git a/jjb/packaging/setup-ansible-rpm.sh b/jjb/packaging/setup-ansible-rpm.sh index a70c89711..7cac73e58 100644 --- a/jjb/packaging/setup-ansible-rpm.sh +++ b/jjb/packaging/setup-ansible-rpm.sh @@ -8,6 +8,7 @@ set -ex -o pipefail # Install required packages virtualenv rpm_build +# shellcheck disable=SC1091 source rpm_build/bin/activate PYTHON="rpm_build/bin/python" $PYTHON -m pip install --upgrade pip @@ -20,4 +21,4 @@ sudo yum install -y ansible # expects the dir containing the role to have the name of role. The JJB project # is called "ansible", which causes the cloned repo name to not match the role # name "opendaylight". So we need a cp/mv either way and this is simplest. -sudo cp -R $WORKSPACE/packaging-ansible /etc/ansible/roles/opendaylight +sudo cp -R "$WORKSPACE"/packaging-ansible /etc/ansible/roles/opendaylight