[redeclipse-data] 22/28: Avoid installing .git dir

Martin Werner arand-guest at moszumanska.debian.org
Sat Apr 4 14:36:35 UTC 2015


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

arand-guest pushed a commit to branch debdir
in repository redeclipse-data.

commit 00eff21caaf53f2fa31cd81868b0bb27d882d6ac
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Sat Apr 4 00:50:38 2015 +0200

    Avoid installing .git dir
---
 rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules b/rules
index c6f596f..86adc5e 100755
--- a/rules
+++ b/rules
@@ -12,7 +12,7 @@ override_dh_auto_build:
 override_dh_install:
 	mkdir -p debian/redeclipse-data/usr/share/games/redeclipse/data
 	find . -mindepth 1 -maxdepth 1 -type d \
-		-not \( -name 'debian' -or -name 'fonts' \) \
+		-not \( -name '.git*' -or -name 'debian' -or -name 'fonts' \) \
 		-exec cp -r '{}' debian/redeclipse-data/usr/share/games/redeclipse/data \;
 
 override_dh_builddeb:

-- 
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