summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuilddebs9
1 files changed, 9 insertions, 0 deletions
diff --git a/builddebs b/builddebs
index cb6f597..be1340d 100755
--- a/builddebs
+++ b/builddebs
@@ -3,6 +3,15 @@
set -e
set -o pipefail
+if ls *.changes > /dev/null 2> /dev/null; then
+ echo "***"
+ echo ".changes files already exist!"
+ echo "Clean repo before building? (y/N) "
+ read -n 1 PRECLEAN
+ echo
+ if [ "$PRECLEAN" == "y" ]; then git clean; else exit 1; fi
+fi
+
for SOURCE in libpiny pinyadmin; do (cd "$SOURCE"; debuild -tc); done
equivs-build -f piny.equiv