[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting http_proxy in debian/rules



what about something like

ifeq (,$(findstring get-orig-source, $(MAKECMDGOALS)))
export  http_proxy=http://127.0.0.1:9/
endif

so unless called with get-orig-source -- it would get defined... ?

On Wed, 06 Feb 2013, Piotr Ożarowski wrote:

> [Dmitrijs Ledkovs, 2013-02-06]
> > On 5 February 2013 17:48, Barry Warsaw <barry@python.org> wrote:
> > > http://mail.python.org/pipermail/catalog-sig/2013-February/004831.html

> > I should add a hook to export that for the build & binary stages of

> FTR: pybuild does that by default (http_proxy=http://127.0.0.1:9/)

> it probably should be changed to not overwrite existing http_proxy (if set)
> or to make it possible to disable it.
-- 
Yaroslav O. Halchenko
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


Reply to: