X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Fsetup-ansible-deb.sh;h=f6151c6ac745afbd68370e6c209c5b723c98b65f;hb=06addf85d544cc998a5866d15d3f61a901d3452b;hp=4501dbd6f495b740a14422c7c61ba9e137f02241;hpb=49efb6213e9c677f9ef74be0fcf41443757d13cb;p=releng%2Fbuilder.git diff --git a/jjb/packaging/setup-ansible-deb.sh b/jjb/packaging/setup-ansible-deb.sh index 4501dbd6f..f6151c6ac 100644 --- a/jjb/packaging/setup-ansible-deb.sh +++ b/jjb/packaging/setup-ansible-deb.sh @@ -8,6 +8,7 @@ set -ex -o pipefail # Install required packages virtualenv deb_build +# shellcheck disable=SC1091 source deb_build/bin/activate PYTHON="deb_build/bin/python" $PYTHON -m pip install --upgrade pip @@ -27,4 +28,4 @@ sudo apt-get 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