support BSD and GNU sed in tests

This commit is contained in:
Hans-Christoph Steiner 2016-02-15 16:17:24 +01:00
parent c91b715a15
commit 2983f3505d
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ test -e repo/index.jar
grep -F '<application id=' repo/index.xml > /dev/null
# now set fake repo_keyalias
sed -i 's,^ *repo_keyalias.*,repo_keyalias = "fake",' $REPOROOT/config.py
sed -i.tmp 's,^ *repo_keyalias.*,repo_keyalias = "fake",' $REPOROOT/config.py
set +e
$fdroid update
if [ $? -eq 0 ]; then