pck-update (action 5): fix the package update from a git repository

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-10-30 19:52:19 +01:00
parent 7cc90d2efb
commit 80e22280fe

View File

@ -1953,7 +1953,7 @@ found ${NOTE}missing BuildRequirement${NORM} \`${NOTE}$f${NORM}'"
rpmvars.solve "$fullURL" "$SRPM_SPECFILE_WITH_PATH")
notify.debug "fullURL = $fullURL"
case "$fullURL_new" in
case "$fullURL" in
git://*|http://*.git|https://*.git)
git.download \
--destdir="$source_dir" "$fullURL"