pck-update: don't clone from git repository at every build is source with current version already exists
This commit is contained in:
parent
8b06b41b20
commit
a76ec2fd3c
@ -1971,6 +1971,7 @@ rpmvars.solve "$fullURL" "$SRPM_SPECFILE_WITH_PATH")
|
||||
|
||||
case "$fullURL" in
|
||||
git://*|http://*.git|https://*.git)
|
||||
[ -e "${source_dir}/${fullURL/*\/}" -a "$force_download" != "1" ] || \
|
||||
git.download \
|
||||
--pck-version "$pck_rpmversion" \
|
||||
--destdir="$source_dir" "$fullURL"
|
||||
|
Loading…
Reference in New Issue
Block a user