3 # We want to catch any unexpected failure, and exit immediately
6 # Download helper for cvs, to be called from the download wrapper script
9 # .../cvs [-q] OUT_FILE CVS_URL REV PKG_NAME BASENAME
12 # CVS : the cvs command to call
15 while getopts :q OPT; do
18 \?) printf "unknown option '%s'\n" "${OPTARG}" >&2; exit 1;;
29 ${CVS} ${verbose} -z3 -d":pserver:anonymous@${repo}" \
30 co -d "${basename}" -r ":${rev}" -P "${rawname}"
32 tar czf "${output}" "${basename}"