From cd70325f14889512f70577111a10f4e1ebd73549 Mon Sep 17 00:00:00 2001 From: Tim Theisen Date: Tue, 12 Sep 2023 12:41:43 -0500 Subject: [PATCH] HTCONDOR-2030: Fix tests --- tests/build_rpms.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/build_rpms.sh b/tests/build_rpms.sh index cc7d689c4..bd756ec7e 100755 --- a/tests/build_rpms.sh +++ b/tests/build_rpms.sh @@ -78,6 +78,7 @@ printf "%s\n" "%dist .el${OS_VERSION}" >> /etc/rpm/macros.dist cp htcondor-ce/rpm/htcondor-ce.spec /tmp/rpmbuild/SPECS package_version=`grep Version htcondor-ce/rpm/htcondor-ce.spec | awk '{print $2}'` pushd htcondor-ce +git config --global --add safe.directory /htcondor-ce git archive --format=tar --prefix=htcondor-ce-${package_version}/ HEAD | \ gzip > /tmp/rpmbuild/SOURCES/htcondor-ce-${package_version}.tar.gz popd