[Git][debian-gis-team/librasterlite2][master] Use filter instead of findstring to prevent partial matches.

Bas Couwenberg gitlab at salsa.debian.org
Tue Jul 17 17:29:54 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / librasterlite2


Commits:
27d89399 by Bas Couwenberg at 2018-07-17T18:29:45+02:00
Use filter instead of findstring to prevent partial matches.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ librasterlite2 (1.0.0~rc0+devel1-7) UNRELEASED; urgency=medium
   * Update Vcs-* URLs for Salsa.
   * Bump Standards-Version to 4.1.5, no changes.
   * Strip trailing whitespace from control & rules files.
+  * Use filter instead of findstring to prevent partial matches.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 20 Jan 2018 22:10:16 +0100
 


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ MANPAGES := $(wildcard debian/man/*.*.xml)
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 CHECK = check
-ifneq (,$(findstring $(DEB_BUILD_ARCH),"mips s390x sparc hppa ppc64"))
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips s390x sparc hppa ppc64))
 	CHECK = nocheck
 endif
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/librasterlite2/commit/27d8939917c24534e25c29aa77413dafc9b084ba

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/librasterlite2/commit/27d8939917c24534e25c29aa77413dafc9b084ba
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-grass-devel/attachments/20180717/09f5c10f/attachment-0001.html>


More information about the Pkg-grass-devel mailing list