Commit 9a33b698 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbs: add support for default remote

parent 9db03bfa
...@@ -168,6 +168,12 @@ rpmbs_copying_built() ...@@ -168,6 +168,12 @@ rpmbs_copying_built()
if is_girar_name $1 ; then if is_girar_name $1 ; then
GIRARHOST=$1 GIRARHOST=$1
shift shift
else
REMOTELIST="$(get_remote_git_list)"
if is_one_girar_name "$REMOTELIST" ; then
# use one target if it one
GIRARHOST="$REMOTELIST"
fi
fi fi
parse_cmd_pre_spec "$@" parse_cmd_pre_spec "$@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment