[OE-core] [PATCH] npm.bbclass: introduce NPM_PXORY

Alexander Kanavin alex.kanavin at gmail.com
Wed Jan 9 17:27:59 UTC 2019


On Wed, 9 Jan 2019 at 18:24, <liu.ming50 at gmail.com> wrote:

> +       if [ -n "${NPM_PROXY}" ]; then
> +               npm config set proxy ${NPM_PROXY}
> +               npm config set https-proxy ${NPM_PROXY}
> +       else
> +               npm config set proxy null
> +               npm config set https-proxy null
> +       fi

Isn't it better to set those from http[s]_proxy environment variables
which are standard?

Alex


More information about the Openembedded-core mailing list