We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd55dd commit ac7c33fCopy full SHA for ac7c33f
.travis.yml
@@ -3,7 +3,8 @@ language: scala
3
before_install:
4
- cat /etc/hosts # optionally check the content *before*
5
- sudo hostname "$(hostname | cut -c1-63)"
6
- - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
+ - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts
7
+ - sudo mv /tmp/hosts /etc/hosts
8
- cat /etc/hosts # optionally check the content *after*
9
10
env:
0 commit comments