[DHG_packages] 18/21: upgrade.sh: More reliable detection of DEB_ENABLE_TESTS = yes

Joachim Breitner nomeata at moszumanska.debian.org
Wed Aug 12 12:18:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch master
in repository DHG_packages.

commit 8347e46a99a97041d8b074cf28d284106ba50704
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Aug 12 14:12:01 2015 +0200

    upgrade.sh: More reliable detection of DEB_ENABLE_TESTS = yes
---
 upgrade.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upgrade.sh b/upgrade.sh
index 29cad75..23f5fd1 100755
--- a/upgrade.sh
+++ b/upgrade.sh
@@ -47,7 +47,7 @@ fi
 debchange --changelog debian/changelog --newversion="$epoch$version-1" 'New upstream release'
 origtargz -u
 
-if fgrep -q 'DEB_ENABLE_TESTS = yes' debian/rules
+if grep -q '^DEB_ENABLE_TESTS = yes' debian/rules
 then
   test=""
 else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list