]> code.ossystems Code Review - openembedded-core.git/commit
oe-git-proxy: Use socat instead of BSD nc
authorDarren Hart <dvhart@linux.intel.com>
Fri, 8 Feb 2013 22:27:25 +0000 (14:27 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 22:53:31 +0000 (22:53 +0000)
commit795b1ea370b8a1d9152c171a50e80bd0b4b8dc60
treeb8597ec10ba9487b49ce05549453ef9a13472042
parent62867f56da0e0904f0108f113324c2432659fbac
oe-git-proxy: Use socat instead of BSD nc

BSD nc was commonly available on the current distros until Fedora 18
appears to have dropped it. socat appears to be a reasonable replacement
with availability on Fedora and Ubuntu and going back some time as well.

Update the script to use the socat syntax.
Simplify the logic a bit by using exec for the no-proxy-needed cases.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-git-proxy