Skip to content

Commit

Permalink
#10 Remove unneccessary echos
Browse files Browse the repository at this point in the history
  • Loading branch information
Phi Huynh committed Apr 19, 2017
1 parent c5d78e4 commit cb3e724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ for HOST_NAME in ${HOST_NAMES[@]}
do
if grep $HOST_NAME /etc/hosts
then
echo 'HOST_NAME EXISTS: ' $HOST_NAME
# echo 'HOST_NAME EXISTS: ' $HOST_NAME
sed -i '' "/$HOST_NAME/ s/.*/$HOST_IP $HOST_NAME/g" /private/etc/hosts
else
echo 'HOST_NAME DOESN'' EXIST: ' $HOST_NAME
# echo 'HOST_NAME DOESN'' EXIST: ' $HOST_NAME
echo $HOST_IP $HOST_NAME >> /private/etc/hosts
fi
done
Expand Down

0 comments on commit cb3e724

Please sign in to comment.