Skip to content
Snippets Groups Projects
Unverified Commit 9c8f1a6d authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Fix building debian packages on non-clean checkouts (#17390)

If we leave the `.so` in place it causes the tests to fail, as it gets
picked up (instead of the newly built .so) and so fails with mismatched
GLIBC errors.
parent 635e3927
No related branches found
No related tags found
No related merge requests found
Fix building debian packages on non-clean checkouts.
...@@ -11,6 +11,9 @@ DIST=$(cut -d ':' -f2 <<< "${distro:?}") ...@@ -11,6 +11,9 @@ DIST=$(cut -d ':' -f2 <<< "${distro:?}")
cp -aT /synapse/source /synapse/build cp -aT /synapse/source /synapse/build
cd /synapse/build cd /synapse/build
# Delete any existing `.so` files to ensure a clean build.
rm -f /synapse/build/synapse/*.so
# if this is a prerelease, set the Section accordingly. # if this is a prerelease, set the Section accordingly.
# #
# When the package is later added to the package repo, reprepro will use the # When the package is later added to the package repo, reprepro will use the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment