diff options
Diffstat (limited to 'sca-cpp/trunk/ubuntu/ip-redirect-all')
-rwxr-xr-x | sca-cpp/trunk/ubuntu/ip-redirect-all | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/ubuntu/ip-redirect-all b/sca-cpp/trunk/ubuntu/ip-redirect-all index f796b0589e..b5876c9850 100755 --- a/sca-cpp/trunk/ubuntu/ip-redirect-all +++ b/sca-cpp/trunk/ubuntu/ip-redirect-all @@ -18,7 +18,7 @@ # Redirect TCP/IP traffic to all local addresses from one port to another # Example: ip-redirect 80 8090 -here=`readlink -f $0`; here=`dirname $here` +here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here` sport=$1 tport=$2 |