Use gsed on macos.

This commit is contained in:
Martin Rotter 2017-11-14 11:35:52 +01:00
parent c1b277b8a3
commit 4fa278530f
2 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@ if test "$TRAVIS_OS_NAME" = "osx"; then
brew link --force qt5
brew install curl
brew link --force curl
#brew uninstall gnu-sed
#brew install gnu-sed --with-default-names
#brew link --force gnu-sed
brew uninstall gnu-sed
brew install gnu-sed --with-default-names
brew link --force gnu-sed
else
# Linux.
sudo add-apt-repository ppa:beineri/opt-qt591-trusty -y

View File

@ -39,7 +39,7 @@ wikifile="./build-wiki/Development-builds.md"
wikifilenew="./build-wiki/Development-builds.md.new"
echo "Line to add: $wikiline"
cat "$wikifile" | sed -e "s@| Mac OS | .\+$USE_WEBENGINE | @$wikiline@g" > "$wikifilenew"
cat "$wikifile" | gsed -e "s@| Mac OS | .\+$USE_WEBENGINE | @$wikiline@g" > "$wikifilenew"
cat "$wikifilenew"
#mv "$wikifilenew" "$wikifile"