Commit f8628272 authored by tywldx's avatar tywldx

s

parent a50dfde7
...@@ -27,6 +27,7 @@ hosts=`node $config_server/get_project_config.js` ...@@ -27,6 +27,7 @@ hosts=`node $config_server/get_project_config.js`
function transByPort() function transByPort()
{ {
echo "-----------$1 $2 $3 $4"
if [ -n "$3" ];then if [ -n "$3" ];then
echo "$1 $2 $3 $4" echo "$1 $2 $3 $4"
# sed -i "s/\/$3/\/$1-$ip_last.q-gp.com/g" $4 # sed -i "s/\/$3/\/$1-$ip_last.q-gp.com/g" $4
...@@ -35,6 +36,7 @@ function transByPort() ...@@ -35,6 +36,7 @@ function transByPort()
function transByUrl() function transByUrl()
{ {
echo "-=====$1 $2 $3 $4"
if [ -n "$3" ];then if [ -n "$3" ];then
echo "$1 $2 $3 $4" echo "$1 $2 $3 $4"
# sed -i "s/\/$3/\/${server_host}:$2/g" $4 # sed -i "s/\/$3/\/${server_host}:$2/g" $4
......
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