3 # We want to catch any unexpected failure, and exit immediately
6 # Download helper for bzr, to be called from the download wrapper script
9 # .../bzr [-q] OUT_FILE REPO_URL REV BASENAME
12 # BZR : the bzr command to call
16 while getopts :q OPT
; do
19 \?) printf "unknown option '%s'\n" "${OPTARG}" >&2; exit 1;;
29 ${BZR} export ${verbose} --root="${basename}/" --format=tgz "${output}" "${repo}" -r "${rev}"