Jeffrey Walton wrote:

When I check my locally installed wget --version it is showing the wrong wgetrc:

     $ command -v wget
     /usr/local/bin/wget

     $ wget --version
     GNU Wget 1.19.5 built on linux-gnu.
     ...
     Wgetrc:
         /etc/wgetrc (system)

I installed an updated wgetrc based on sample.wgetrc in $PREFIX/etc
but it appears it is not being used.

Try setting an env-var 'WGETRC' pointing to your wget rc-file.
Works on Windows at least.

--
--gv

Reply via email to