SF.net SVN: gar:[22555] csw/mgar/gar/v2/bin/gitproxy

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Nov 19 20:10:47 CET 2013


Revision: 22555
          http://gar.svn.sourceforge.net/gar/?rev=22555&view=rev
Author:   dmichelsen
Date:     2013-11-19 19:10:46 +0000 (Tue, 19 Nov 2013)
Log Message:
-----------
mGAR v2: Fix gitproxy command

Modified Paths:
--------------
    csw/mgar/gar/v2/bin/gitproxy

Modified: csw/mgar/gar/v2/bin/gitproxy
===================================================================
--- csw/mgar/gar/v2/bin/gitproxy	2013-11-19 18:43:25 UTC (rev 22554)
+++ csw/mgar/gar/v2/bin/gitproxy	2013-11-19 19:10:46 UTC (rev 22555)
@@ -11,8 +11,9 @@
 
     # this bit is copied from http://lkml.org/lkml/2006/2/26/207 and then
     # modified to use netcat and handle proxy settings from the env.
-    (echo "CONNECT ${REMHOST}:${REMPORT} HTTP/1.0"; echo; cat ) |
-    nc ${PROXYHOST} ${PROXYPORT} | (read a; read a; cat )
+#    (echo "CONNECT ${REMHOST}:${REMPORT} HTTP/1.0"; echo; cat ) |
+#    nc ${PROXYHOST} ${PROXYPORT} | (read a; read a; cat )
+    exec /opt/csw/bin/socat STDIO PROXY:${PROXYHOST}:${REMHOST}:${REMPORT},proxyport=${PROXYPORT}
 
 else
     echo Please set http_proxy in your environment. >&2

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list