Fix \r problem
parent
6a889991ba
commit
f18702f983
|
@ -7,7 +7,7 @@ BRANCH=$2
|
|||
NGINXCONF=/opt/nginx/conf
|
||||
DEST=$NGINXCONF/$BRANCH.location
|
||||
|
||||
IP=$(vagrant ssh $SERVER -c "ifdata -pa eth0")
|
||||
IP=$(vagrant ssh $SERVER -c "ifdata -pa eth0" | tr -d '\r')
|
||||
cp config/nginx-template.location $DEST
|
||||
|
||||
echo server IP es $IP
|
||||
|
|
Loading…
Reference in New Issue