summaryrefslogtreecommitdiff
path: root/scripts/poky-git-proxy-command
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-08 11:31:08 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-08 11:31:08 +0000
commita546b63011f5a3db1f393a6f5fb56757c26ce25d (patch)
tree7ab2c76392cd440459826455bfd414d8f032ca1e /scripts/poky-git-proxy-command
parentbe963bf7db9c66f2ab76182de13d5e95c055ca66 (diff)
downloadopenembedded-core-a546b63011f5a3db1f393a6f5fb56757c26ce25d.tar.gz
openembedded-core-a546b63011f5a3db1f393a6f5fb56757c26ce25d.tar.bz2
openembedded-core-a546b63011f5a3db1f393a6f5fb56757c26ce25d.zip
scripts: Add git proxy script
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4193 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/poky-git-proxy-command')
-rwxr-xr-xscripts/poky-git-proxy-command10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/poky-git-proxy-command b/scripts/poky-git-proxy-command
new file mode 100755
index 0000000000..d31f85abd8
--- /dev/null
+++ b/scripts/poky-git-proxy-command
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+(echo "CONNECT $1:$2 HTTP/1.0";
+ echo;
+ cat ) | nc $GIT_PROXY_HOST $GIT_PROXY_PORT |
+
+(read a;
+ read a;
+ read a;
+ cat ) \ No newline at end of file