Meta/pushall: make it easier to one-shot customize the destinations
Junio C Hamano committed
Feb 3, 2022 at 17:20 UTC
5e3eaf38f26fc35f48653adbb4cc31ef5a5b8d43
1 file changed
+4
-3
pushall
+4
-3
index 2b4a8a5ca6..f1ad8e2ec3 100755
--- a/pushall
+++ b/pushall
@@ -1,9 +1,10 @@
#!/bin/sh
#sites='ko repo github2 sfjp sf.net'
-sites='ko repo github2'
-nexts='ko repo github2 '
-mirrors='github gob-private'
+
+: ${sites:="ko repo github2"}
+: ${nexts:="$sites"}
+: ${mirrors="github gob-private"}
push_retry () {
sites=$1