New gbp wrapper for smooth building

This commit is contained in:
Tim Rühsen 2016-12-14 12:03:00 +01:00
parent d02dec2f3b
commit d9088f3425
1 changed files with 9 additions and 0 deletions

9
debian/build vendored Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
branch=$(git branch|grep '^*'|cut -d' ' -f2)
[ "$branch" = "debian" ] || exit 1
rm -rf list
git reset --hard
git clean -d -x -f
gbp buildpackage