Better regex.

This commit is contained in:
Martin Rotter 2017-11-14 08:27:07 +01:00
parent ccd980c109
commit 929e1071ea
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
wikiline="| Linux | $(date +'%m-%d-%Y %T') | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh]($url) | $(echo "$USE_WEBENGINE") | " wikiline="| Linux | $(date +'%m-%d-%Y %T') | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh]($url) | $(echo "$USE_WEBENGINE") | "
wikifile="./build-wiki/Development-builds.md" wikifile="./build-wiki/Development-builds.md"
cat "$wikifile" | sed -e "s@| Linux | .\+$USE_WEBENGINE.\+@$wikiline@g" cat "$wikifile" | sed -e "s@| Linux | .\+$USE_WEBENGINE | @$wikiline@g"
cd ./build-wiki cd ./build-wiki
git commit -a -m "New files." git commit -a -m "New files."