[Crosstoolchain-logs] [gdb] 11/14: debian/rules: Replace a $(findstring ...) call with $(filter ...)

Samuel Bronson naesten-guest at moszumanska.debian.org
Wed May 7 20:37:09 UTC 2014


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

naesten-guest pushed a commit to branch master
in repository gdb.

commit c77cf04bc212d5a2baf38dac78a316155fad1a8b
Author: Samuel Bronson <naesten at gmail.com>
Date:   Tue May 6 16:12:02 2014 -0400

    debian/rules: Replace a $(findstring ...) call with $(filter ...)
    
    It's probably not all that likely that DEB_BUILD_OPTIONS would contain
    an item with nocheck as a substring, but still ...
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 415497b..944e678 100755
--- a/debian/rules
+++ b/debian/rules
@@ -93,7 +93,7 @@ BUILDDIRMULTIARCH = $(ALL_BUILDDIR)/objdir-multiarch
 
 run_tests := yes
 
-ifneq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
   run_tests := no
 endif
 

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



More information about the Crosstoolchain-logs mailing list