X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=id-deb-build%2Fid-mk-deb-src.sh;h=4e351bb8e66db3fba973f386343238bfae36221e;hb=3b815c3b305f76eb0f0eb5b14f30ddbc6ccf5082;hp=84814e4fdfea32b91004bf22750911a95201e246;hpb=4899d5ff358df3d3a668e3439b834b8800e97ae5;p=git-tools-moved-to-github.git 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