3 RSYNCSOURCE=rsync://mirrors.rit.edu
6 TIMEFILE="${MIRRORDIR}/.locks/fedora-epel.timefile"
8 QFM="./tools/fedora/quick-fedora-mirror"
10 if ! [ -x "${QFM}" ]; then
11 # It is expected that this script is sourced by fetch-hudson
12 # and that cwd is the workspace where the root of this repository
14 echo "Could not find quick-fedora-mirror."
21 TMPDIR=$(mktemp -d /tmp/fedora-epel.XXXXXX) || die "Unable to mktemp"
22 exittrap() { rm -rf "${TMPDIR}"; }
24 CONF="${TMPDIR}/qmf.conf"
26 # This will be sourced by qfm, which uses zsh.
27 # Where our mirrors live
29 # State regarding last sync, and also a lockfile for qfm
31 # Upstream mirror that contains fedora-buffet
33 # Which module to sync
35 # Map from module to location in DESTD
36 MODULEMAPPING=(${MODULE} ${MODULEDIR})
41 "${QFM}" --config "${CONF}"