chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c91b715
)
support BSD and GNU sed in tests
author
Hans-Christoph Steiner
<hans@eds.org>
Mon, 15 Feb 2016 15:17:24 +0000
(16:17 +0100)
committer
Hans-Christoph Steiner
<hans@eds.org>
Mon, 15 Feb 2016 22:06:31 +0000
(23:06 +0100)
tests/run-tests
patch
|
blob
|
history
diff --git
a/tests/run-tests
b/tests/run-tests
index 5efed6807814925daa7d9da7ab06a1d521fac558..243fbf4ca23b3e89e62225e692005c73b5a29484 100755
(executable)
--- a/
tests/run-tests
+++ b/
tests/run-tests
@@
-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