[leafnode-list] [PATCH] fix(Sourcehut CI): make the pipeline fail when dpkg-buildflags does.
Matěj Cepl
mcepl at cepl.eu
Fri Apr 25 16:21:11 CEST 2025
The previous version of the command ignored failing
dpkg-buildflags (or even if the program was missing).
References: https://gitlab.com/leafnode-2/leafnode-2/-/merge_requests/6#note_2469407294
---
.build.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.build.yml b/.build.yml
index eebffdf..8934206 100644
--- a/.build.yml
+++ b/.build.yml
@@ -28,7 +28,7 @@ tasks:
--with-spooldir=/var/spool/news \
--sysconfdir=/etc/news/leafnode \
--disable-silent-rules
- eval "$(dpkg-buildflags --export=sh)" && make
+ cmd="$(dpkg-buildflags --export=sh)" && eval "$cmd" && make
make README README.html
make FAQ.html
- test: |
@@ -37,4 +37,4 @@ tasks:
./configure \
--build=${DEB_BUILD_GNU_TYPE} \
--host=${DEB_HOST_GNU_TYPE}
- eval "$(dpkg-buildflags --export=sh)" && make check
+ cmd="$(dpkg-buildflags --export=sh)" && eval "$cmd" && make check
--
2.49.0
More information about the leafnode-list
mailing list