Full path to software
[git-tools-moved-to-github.git] / id-deb-build / id-mk-deb-src.sh
index 84814e4..4e351bb 100755 (executable)
@@ -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