Remove files in debian/.gitignore .
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 20 Jan 2010 09:00:05 +0000 (10:00 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 20 Jan 2010 09:00:05 +0000 (10:00 +0100)
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