Skip to content

Commit 962ea2e

Browse files
committed
delay verifying the existence of VCS command
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
1 parent df32215 commit 962ea2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codebase

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ cmd_clone_run()
240240
if [[ ! -d code/"${odir}" ]]; then
241241
(
242242
if source ${lcopy}; then
243-
verify_cmd ${VCS}
244243
if [[ -z "${REPO}" ]]; then
245244
ERROR 1 "no REPO given in ${lcopy}"
246245
fi
@@ -252,6 +251,7 @@ cmd_clone_run()
252251
fi
253252
if [[ "${language}" = all ]] ||
254253
member_csv "${language}" "${LANGUAGES}"; then
254+
verify_cmd ${VCS}
255255
if is_git_tag "${VCS}" "${ALIGNMENT}"; then
256256
git_clone "${REPO}" "code/${odir}" "${ALIGNMENT}"
257257
else

0 commit comments

Comments
 (0)