[redeclipse-data] 10/12: Improve find delete command

Markus Koschany apo at moszumanska.debian.org
Sun Aug 28 15:37:28 UTC 2016


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

apo pushed a commit to branch master
in repository redeclipse-data.

commit 4a250361285edc55d842ca60032e7065d64b780a
Author: Markus Koschany <apo at debian.org>
Date:   Sun Aug 28 16:03:07 2016 +0200

    Improve find delete command
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 0c6fb4b..8a72d5f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@ override_dh_auto_install:
 		-not \( -name '.git*' -or -name '.pc*' -or -name 'debian' -or -name 'fonts' \) \
 		-exec cp -r '{}' debian/redeclipse-data/usr/share/games/redeclipse/data \;
 	# Delete hidden .git directories that could not be found due to maxdepth 1
-	find debian/redeclipse-data/usr/share/games/redeclipse/data -name '.git' -delete
+	find debian/redeclipse-data/usr/share/games/redeclipse/data -name '.git*' -delete
 
 get-orig-source:
 	uscan --noconf --rename --repack --compression xz --force-download --download-current-version --destdir=.

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



More information about the Pkg-games-commits mailing list