From 4f0e46fa9307e00c22ee5b5ddc287286834e0056 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Thu, 30 Oct 2008 22:33:59 +0100 Subject: runmirrors correctly set PUSHLOCKS Signed-off-by: Joerg Jaspert --- bin/runmirrors | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bin/runmirrors') diff --git a/bin/runmirrors b/bin/runmirrors index 8667a03..c49162a 100755 --- a/bin/runmirrors +++ b/bin/runmirrors @@ -84,11 +84,7 @@ hook $HOOK set +e # Built up our list of 2-stage mirrors. -PUSHLOCKS="" -egrep '^staged' "${MIRRORS}" | -while read MTYPE MLNAME MHOSTNAME MUSER MPROTO MKEYFILE; do - PUSHLOCKS="${PUSHLOCKS} ${LOCKDIR}/${MLNAME}.stage1" -done +PUSHLOCKS=$(get2stage) # Now read our mirrorfile and push the mirrors defined in there. # We use grep to easily sort out all lines having a # in front of them or are empty. -- cgit v1.2.3