[Git][haskell-team/pkg-haskell-tools][master] Fix grep for DEB_ENABLE_TESTS to catch new dh-style.

Clint Adams (@clint) gitlab at salsa.debian.org
Tue Feb 10 20:53:22 GMT 2026



Clint Adams pushed to branch master at Debian Haskell Group / pkg-haskell-tools


Commits:
b8d03c54 by Clint Adams at 2026-02-10T15:52:54-05:00
Fix grep for DEB_ENABLE_TESTS to catch new dh-style.

This is still more fragile than it should be.

- - - - -


1 changed file:

- scripts/cabal-debian


Changes:

=====================================
scripts/cabal-debian
=====================================
@@ -31,7 +31,7 @@ __END__
 	exit 0;
 fi
 
-if test -e debian/rules && grep -q '^DEB_ENABLE_TESTS :\?= yes' debian/rules
+if test -e debian/rules && grep -q '^export DEB_ENABLE_TESTS :\?= yes' debian/rules
 then
   test=""
 else



View it on GitLab: https://salsa.debian.org/haskell-team/pkg-haskell-tools/-/commit/b8d03c54ff6c0aa231856b2ade251cc3fddec5d1

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/pkg-haskell-tools/-/commit/b8d03c54ff6c0aa231856b2ade251cc3fddec5d1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20260210/f51e87a4/attachment.htm>


More information about the Pkg-haskell-commits mailing list