1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00
This commit is contained in:
Hans-Christoph Steiner 2020-12-14 23:08:32 +01:00
parent d1a47e58c3
commit 531c36f310
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -1265,7 +1265,7 @@ if which wget; then
$fdroid signindex
mv $REPOROOT/index-v1.json repo/index-v1.json
port=3210${RANDOM:3}
port=321${RANDOM:3}
test $(printf $port | wc --chars) -le 3 && port=52734 # when $RANDOM doesn't work
timeout 5m python3 -m http.server $port --bind 127.0.0.1 > $REPOROOT/http.server.log 2>&1 &
http_server_pid=$!