From fafd322226ddc226d6f56a8fa67ed86de635fce1 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 2 Oct 2023 18:59:13 -0700 Subject: [PATCH] copr: only copy srpm source when in copr build --- ci/source-archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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