Bug#876721: libkml: find(1) call in override_dh_auto_install will not delete all matched files

Chris Lamb lamby at debian.org
Mon Sep 25 08:15:58 UTC 2017


Source: libkml
Version: 1.3.0-4
Severity: minor
Tags: patch

Hi,

The find(1) call in override_dh_auto_install will not delete all
matched files as -delete has high precedence; it will "bind" to
the -name CMakeLists.txt part only.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index cc19320..6452227 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ override_dh_auto_install:
 	dh_auto_install
 
 	# Remove autotools stuff
-	find $(CURDIR)/examples/ -type f -name "Makefile*" -or -name "CMakeLists.txt" -delete
+	find $(CURDIR)/examples/ -type f \( -name "Makefile*" -or -name "CMakeLists.txt" \) -delete
 
 override_dh_install:
 	dh_install --autodest --list-missing


More information about the Pkg-grass-devel mailing list