diff --git a/ci/source-archive.sh b/ci/source-archive.sh index c6fbf0218..6ccfdad9f 100755 --- a/ci/source-archive.sh +++ b/ci/source-archive.sh @@ -52,6 +52,6 @@ tar --delete \ gzip ${TAR_NAME} -if test -d ${COPR_SRPM} ; then +if test -n "${COPR_SRPM}" ; then mv ${TAR_NAME}.gz $(rpm --eval '%{_sourcedir}') fi