]> code.ossystems Code Review - openembedded-core.git/commit
oe-git-proxy: Allow explicit IP addresses in $NO_PROXY
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 18 Sep 2015 10:46:04 +0000 (12:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Sep 2015 14:20:09 +0000 (15:20 +0100)
commitc01e61d8b79d644880415986bdb1ba925f194329
treeb7ce1f9000204dd9abaa91b38ff0256a18a0f13e
parent27138b2eeafa8b81f3020ad9d8a55263e636288c
oe-git-proxy: Allow explicit IP addresses in $NO_PROXY

Without this fix, if one specified, e.g., 127.0.0.1 in $NO_PROXY, the
oe-git-proxy script would fail with a message like this:

/home/pkj/yocto/poky/scripts/oe-git-proxy: line 64: 32-127.0.0.1: syntax error: invalid arithmetic operator (error token is ".0.0.1")

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-git-proxy