Skip to content

Commit d39a18f

Browse files
committed
Change default rpc_type to grpc in download-proxy.sh
1 parent 39311a0 commit d39a18f

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

scripts/download-proxy.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,7 @@ mv soccer-simulation-proxy/* .
3535

3636
echo "Inserting code to start.sh..."
3737

38-
sed -i '/rpc_type="thrift"/a\
39-
if [ -f ".env" ]; then\n\
40-
source .env\n\
41-
if [ -n "$RPC_TYPE" ]; then\n\
42-
rpc_type="$RPC_TYPE"\n\
43-
fi\n\
44-
fi' start.sh
45-
46-
47-
if [ ! -f ".env" ]; then
48-
echo "Creating .env file with default content..."
49-
echo "RPC_TYPE=grpc" > .env
50-
fi
38+
sed -i 's/rpc_type="thrift"/rpc_type="grpc"/' start.sh
5139

5240
rm -rf soccer-simulation-proxy
5341

0 commit comments

Comments
 (0)