Commit 2033986e authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbs: no error if no need to copy

parent 68307bc0
......@@ -148,8 +148,7 @@ extract_tarball_to_dest()
rpmbs_copying_built()
{
[ -n "$ETERDESTSRPM" ] || return
#[ -n "$ETERDESTSRPM" ] || fatal "Set ETERDESTSRPM to destination dir"
[ -n "$ETERDESTSRPM" ] || return 0
echog "Copying package(s) in \$ETERDESTSRPM"
if is_ssh_target "$ETERDESTSRPM" ; then
scp $LISTBUILT $ETERDESTSRPM || echog "Error during copying"
......
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