X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fnpm-config.sh;h=968450200b382346fe3228d5bce173fcf3e94829;hb=b55451a53da28d40c62de5cae462302a32fe4c31;hp=749e7e58374484a1742c9abe12f39969b9122643;hpb=ddeccf5a8df0fe4478eae61099c0cd3084d02e64;p=releng%2Fglobal-jjb.git diff --git a/shell/npm-config.sh b/shell/npm-config.sh index 749e7e58..96845020 100644 --- a/shell/npm-config.sh +++ b/shell/npm-config.sh @@ -55,5 +55,5 @@ do_config() { auth_token=$(echo -n "$USER":"$PASS" | openssl base64) # Write .npmrc - echo '//'$NPM_REGISTRY':_auth'$auth_token >> $HOME/.npmrc + echo "//$NPM_REGISTRY:_auth$auth_token" >> "$HOME/.npmrc" }