Use gsed on macos.
This commit is contained in:
parent
c1b277b8a3
commit
4fa278530f
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user