From 7ad048086f2e4324e359846b51afa0d06c7a4ab1 Mon Sep 17 00:00:00 2001 From: Nilesh Patra Date: Thu, 15 Dec 2022 21:35:02 +0000 Subject: [PATCH] Remove dead symlink, choking build --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 28cd6f9539..947d54f2b1 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,8 @@ override_dh_auto_configure-arch: if [ -d ${BUILDDIR}/vendor ]; then ${RM} -rf ${BUILDDIR}/vendor; fi if [ -d ${BUILDDIR}/workhorse-vendor ]; then mv ${BUILDDIR}/workhorse-vendor \ ${BUILDDIR}/vendor; fi + # Remove non-existent symlink + find ${BUILDDIR} -name test.git -delete # temporary step till protobuf 1.5 vs 1.3 is resolved ln -s /usr/share/gocode/src/gitlab.com/gitlab-org/gitaly/v15/vendor/github.com/prometheus ${BUILDDIR}/vendor/github.com ln -s /usr/share/gocode/src/gitlab.com/gitlab-org/gitaly/v15/vendor/github.com/matttproud ${BUILDDIR}/vendor/github.com