Permalink
Browse files

pass along LC_ALL to nodes

  • Loading branch information...
erikfrey committed Mar 11, 2009
1 parent 306251e commit 4385ab074f9d174c25c964cc8905c7cb83bc6185
Showing with 1 addition and 1 deletion.
  1. +1 −1 br
View
2 br
@@ -79,7 +79,7 @@ do
# lets get the pid of our listener
ssh -n $host "mkdir -p $nodepath"
pid=`ssh -n $host "nc -l -p $port_out > $nodepath/in_$host_idx 2> /dev/null < /dev/null & jobs -l" | awk {'print $2'}`
- ssh $host -n "tail -s0.1 -f --pid=$pid $nodepath/in_$host_idx 2> /dev/null < /dev/null | sort -k$mapcolumn,$mapcolumn $reduce 2>/dev/null | nc -q0 -l -p $port_in >& /dev/null &"
+ ssh $host -n "tail -s0.1 -f --pid=$pid $nodepath/in_$host_idx 2> /dev/null < /dev/null | LC_ALL='$LC_ALL' sort -k$mapcolumn,$mapcolumn $reduce 2>/dev/null | nc -q0 -l -p $port_in >& /dev/null &"
# our local forwarders
nc $host $port_in > $jobpath/in/$host_idx &
nc -q0 $host $port_out < $jobpath/out/$host_idx &

0 comments on commit 4385ab0

Please sign in to comment.