Commit 4245568b authored by 智勇's avatar 智勇

fix

parent 33de1118
......@@ -27,7 +27,7 @@ function transByPort()
{
if [ -n "$4" ];then
echo "sed -i \"s/\/$3.xyqb.com/\/$1-$ip_last.q-gp.com/g\" $4"
sed -i "s/\/$3.xyqb.com/\/$1-$ip_last.q-gp.com/g" $4
sed -i "s/\/$3/\/$1-$ip_last.q-gp.com/g" $4
fi
}
......@@ -35,7 +35,7 @@ function transByUrl()
{
if [ -n "$4" ];then
echo "sed -i \"s/\/$3.xyqb.com/\/${server_host}:$2/g\" $4"
sed -i "s/\/$3.xyqb.com/\/${server_host}:$2/g" $4
sed -i "s/\/$3/\/${server_host}:$2/g" $4
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment