From 5e3eaf38f26fc35f48653adbb4cc31ef5a5b8d43 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 3 Feb 2022 17:20:04 -0800 Subject: [PATCH] Meta/pushall: make it easier to one-shot customize the destinations --- pushall | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pushall b/pushall 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 -- 2.47.3