X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jenkins-init-scripts%2Fcreate-jenkins-user.sh;h=980eacf1377fcc0b6f9594cd67d89e88bbfaf9e9;hb=bafd57c92d85a6c8b2c3fd3dbe30aa3a09f8f620;hp=bde227cb0eaf8b7017141c6a62e2e2bb0617e851;hpb=dbd05cd4100a27a545cc2c7f0388018449d982c3;p=releng%2Fglobal-jjb.git diff --git a/jenkins-init-scripts/create-jenkins-user.sh b/jenkins-init-scripts/create-jenkins-user.sh index bde227cb..980eacf1 100755 --- a/jenkins-init-scripts/create-jenkins-user.sh +++ b/jenkins-init-scripts/create-jenkins-user.sh @@ -13,9 +13,9 @@ OS=$(facter operatingsystem | tr '[:upper:]' '[:lower:]') OS_RELEASE=$(facter lsbdistrelease | tr '[:upper:]' '[:lower:]') if [[ "$OS_RELEASE" == "18.04" && "$OS" == 'ubuntu' ]]; then - # We do not want var expansion here as profile script expands at runtime. - # shellcheck disable=SC2016 - echo 'export PATH=$HOME/.local/bin:$PATH' >> /etc/profile + # We do not want var expansion here as profile script expands at runtime. + # shellcheck disable=SC2016 + echo 'export PATH=$HOME/.local/bin:$PATH' >> /etc/profile fi useradd -m -s /bin/bash jenkins