diff options
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/functions b/scripts/functions index c80eecd..42c456c 100644 --- a/scripts/functions +++ b/scripts/functions @@ -590,11 +590,11 @@ CT_GetCVS() { local dirname="$5" local tmp_dir - # Does it exist localy? - CT_GetLocal "${basename}" && return 0 || true - # No, it does not... - - CT_DoLog EXTRA "Retrieving '${basename}'" + # First try locally, then the mirror + if CT_GetFile "${basename}"; then + # Got it! Return early! :-) + return 0 + fi CT_MktempDir tmp_dir CT_Pushd "${tmp_dir}" |