diff options
author | Darren Hart <dvhart@linux.intel.com> | 2013-02-08 14:27:24 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-11 22:53:31 +0000 |
commit | 75738ac47b9ca11daa94820c9c5f829937397da7 (patch) | |
tree | 0462457b00964dab684abb2c7ee1ca345f5bf279 /scripts/oe-git-proxy-socks-command | |
parent | 795b1ea370b8a1d9152c171a50e80bd0b4b8dc60 (diff) | |
download | openembedded-core-75738ac47b9ca11daa94820c9c5f829937397da7.tar.gz openembedded-core-75738ac47b9ca11daa94820c9c5f829937397da7.tar.bz2 openembedded-core-75738ac47b9ca11daa94820c9c5f829937397da7.zip |
oe-git-proxy*: Remove previous git proxy solutions
The new oe-git-proxy should address all git proxying needs, remove
the previous scripts.
V2: Separate the removal of the old scripts into their own patch
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-git-proxy-socks-command')
-rwxr-xr-x | scripts/oe-git-proxy-socks-command | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/scripts/oe-git-proxy-socks-command b/scripts/oe-git-proxy-socks-command deleted file mode 100755 index 8acffb5248..0000000000 --- a/scripts/oe-git-proxy-socks-command +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/bash -SCRIPTDIR=`dirname $0` -# Check oe-git-proxy-socks exists -PROXYSOCKS=`which oe-git-proxy-socks 2> /dev/null` -if [ -z "$PROXYSOCKS" -a -e "$SCRIPTDIR/oe-git-proxy-socks.c" ]; then - # If not try and build it - gcc $SCRIPTDIR/oe-git-proxy-socks.c -o $SCRIPTDIR/oe-git-proxy-socks -fi -PROXYSOCKS=`which oe-git-proxy-socks 2> /dev/null` -if [ ! -x "$PROXYSOCKS" ]; then - # If that fails, we can see if netcat (nc) is available - NETCAT=`which nc 2> /dev/null` - if [ ! -x "$NETCAT" ]; then - # If that fails, explain to the user - echo "Unable to find oe-git-proxy-socks. This is usually created with the command" - echo "'gcc scripts/oe-git-proxy-socks.c -o scripts/oe-git-proxy-socks' which we tried" - echo "but it doesn't seem to have worked. Please compile the binary manually." - echo "Alternativly, install nc (netcat) on this machine." - exit 1 - fi - exec $NETCAT -x $GIT_PROXY_HOST:$GIT_PROXY_PORT "$@" -fi -oe-git-proxy-socks -S $GIT_PROXY_HOST:$GIT_PROXY_PORT $@ |