Fix \r problem

pull/1/head
Nicolas Arenas 2023-09-14 20:39:16 +02:00
parent 6a889991ba
commit f18702f983
1 changed files with 1 additions and 1 deletions

View File

@ -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