pck-update: don't clone from git repository at every build is source with current version already exists
This commit is contained in:
parent
42400bcded
commit
46ec87de31
@ -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