]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts: Add git proxy script
authorRichard Purdie <richard@openedhand.com>
Tue, 8 Apr 2008 11:31:08 +0000 (11:31 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 8 Apr 2008 11:31:08 +0000 (11:31 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4193 311d38ba-8fff-0310-9ca6-ca027cbcb966

scripts/poky-git-proxy-command [new file with mode: 0755]

diff --git a/scripts/poky-git-proxy-command b/scripts/poky-git-proxy-command
new file mode 100755 (executable)
index 0000000..d31f85a
--- /dev/null
@@ -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