From 3b815c3b305f76eb0f0eb5b14f30ddbc6ccf5082 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 20 Jan 2010 10:00:05 +0100 Subject: [PATCH] Remove files in debian/.gitignore . --- id-deb-build/id-mk-deb-src.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/id-deb-build/id-mk-deb-src.sh b/id-deb-build/id-mk-deb-src.sh index 84814e4..4e351bb 100755 --- a/id-deb-build/id-mk-deb-src.sh +++ b/id-deb-build/id-mk-deb-src.sh @@ -8,6 +8,9 @@ if test ! -f $DEBCHANGELOG; then echo "The current directory should be base source of package" exit 1 fi +if test -f debian/.gitignore; then + cd debian; for i in `cat .gitignore`; do rm -fr $i; done; cd .. +fi if test -d deb-src; then echo "deb-src exist. You might remove it" exit 1 -- 1.7.10.4