[SCM] ogmrip/master: Use the -delete option of the command find instead of pipe it to "xargs rm"

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Nov 19 02:18:10 UTC 2012


The following commit has been merged in the master branch:
commit a041c56be70274f44ddad24fc7f35073cee0e127
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Nov 19 02:01:51 2012 +0000

    Use the -delete option of the command find instead of pipe it to "xargs rm"

diff --git a/debian/rules b/debian/rules
index ee4fac9..d9cad2a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,8 +5,8 @@
 
 override_dh_auto_install:
 	dh_auto_install
-	find debian/tmp/usr/lib/ogmrip -name *.a | xargs rm
-	find debian/tmp/usr/lib -name *.la | xargs rm
+	find debian/tmp/usr/lib/ogmrip -name '*.a' -delete
+	find debian/tmp/usr/lib -name '*.la' -delete
 
 override_dh_auto_test:
 

-- 
ogmrip packaging



More information about the pkg-multimedia-commits mailing list