chiark / gitweb /
support BSD and GNU sed in tests
authorHans-Christoph Steiner <hans@eds.org>
Mon, 15 Feb 2016 15:17:24 +0000 (16:17 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 15 Feb 2016 22:06:31 +0000 (23:06 +0100)
tests/run-tests

index 5efed6807814925daa7d9da7ab06a1d521fac558..243fbf4ca23b3e89e62225e692005c73b5a29484 100755 (executable)
@@ -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